fix: define milisecond precision for postgres

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2022-03-07 11:28:32 +01:00
parent 0c3c577b52
commit b51e73bc2e
No known key found for this signature in database
GPG Key ID: 31AB0439F4C5C90E
1 changed files with 1 additions and 1 deletions

View File

@ -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)",
}