diff options
Diffstat (limited to 'internal/db/models_sqlite.go')
-rw-r--r-- | internal/db/models_sqlite.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/db/models_sqlite.go b/internal/db/models_sqlite.go new file mode 100644 index 00000000..c462cc5d --- /dev/null +++ b/internal/db/models_sqlite.go @@ -0,0 +1,15 @@ +// +build sqlite + +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package db + +import ( + _ "github.com/mattn/go-sqlite3" +) + +func init() { + EnableSQLite3 = true +} |