mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 13:08:18 +00:00
Moved schema.go to schema Package
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
"code.google.com/p/go.net/websocket"
|
||||
"github.com/drone/drone/server/channel"
|
||||
"github.com/drone/drone/server/database"
|
||||
"github.com/drone/drone/server/database/schema"
|
||||
"github.com/drone/drone/server/handler"
|
||||
"github.com/drone/drone/server/queue"
|
||||
"github.com/drone/drone/server/resource/commit"
|
||||
@@ -92,7 +92,7 @@ func main() {
|
||||
// setup the database
|
||||
meddler.Default = meddler.SQLite
|
||||
db, _ := sql.Open(driver, datasource)
|
||||
database.Load(db)
|
||||
schema.Load(db)
|
||||
|
||||
// setup the database managers
|
||||
repos := repo.NewManager(db)
|
||||
|
Reference in New Issue
Block a user