mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
27 lines
373 B
Go
27 lines
373 B
Go
package migrations
|
|
|
|
var migrationList []*migration
|
|
|
|
func init() {
|
|
new(migrationBuilder).
|
|
desc("Create account table").
|
|
sqlite(`
|
|
CREATE TABLE account (
|
|
id INTEGER PRIMARY KEY
|
|
)
|
|
`).
|
|
verifyTable("account")
|
|
}
|
|
|
|
type SchemaVersion struct {
|
|
Version int
|
|
}
|
|
|
|
type SchemaLog struct {
|
|
Id int64
|
|
Version int64
|
|
Desc string
|
|
Info string
|
|
Error bool
|
|
}
|