mirror of
https://github.com/pressly/goose.git
synced 2025-05-31 11:42:04 +00:00
Merged in jkl1337/goose/sqlite3 (pull request #31)
Replace TEXT type with TIMESTAMP in sqlite migration table
This commit is contained in:
commit
b9dc9c12b8
@ -104,7 +104,7 @@ func (m *Sqlite3Dialect) createVersionTableSql() string {
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
version_id INTEGER NOT NULL,
|
||||
is_applied INTEGER NOT NULL,
|
||||
tstamp TEXT DEFAULT (datetime('now'))
|
||||
tstamp TIMESTAMP DEFAULT (datetime('now'))
|
||||
);`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user