Initial commit, source code of Gitea 1.23.1
This commit is contained in:
15
modules/setting/database_sqlite.go
Normal file
15
modules/setting/database_sqlite.go
Normal file
@@ -0,0 +1,15 @@
|
||||
//go:build sqlite
|
||||
|
||||
// Copyright 2014 The Gogs Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package setting
|
||||
|
||||
import (
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
func init() {
|
||||
EnableSQLite3 = true
|
||||
SupportedDatabaseTypes = append(SupportedDatabaseTypes, "sqlite3")
|
||||
}
|
Reference in New Issue
Block a user