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
@ -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)",
|
||||
}
|
||||
|
Reference in New Issue
Block a user