forked from mystiq/dex
fix: define milisecond precision for postgres
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
0c3c577b52
commit
b51e73bc2e
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ var textSchema = map[string]string{
|
|||
}
|
||||
|
||||
var timeSchema = map[string]string{
|
||||
dialect.Postgres: "timestamptz",
|
||||
dialect.Postgres: "timestamptz(3)",
|
||||
dialect.SQLite: "timestamp",
|
||||
dialect.MySQL: "datetime(3)",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue