parent
d60f7b85e5
commit
23bba7633b
@ -1,11 +1,15 @@ |
|||||||
// +build sqlite
|
|
||||||
|
|
||||||
// Copyright 2014 The Gogs Authors. All rights reserved.
|
// Copyright 2014 The Gogs Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a MIT-style
|
// Use of this source code is governed by a MIT-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// +build sqlite
|
||||||
|
|
||||||
package models |
package models |
||||||
|
|
||||||
import ( |
import ( |
||||||
_ "github.com/mattn/go-sqlite3" |
_ "github.com/mattn/go-sqlite3" |
||||||
) |
) |
||||||
|
|
||||||
|
func init() { |
||||||
|
EnableSQLite3 = true |
||||||
|
} |
||||||
|
Loading…
Reference in new issue