diff --git a/internal/dialect/dialectquery/postgres.go b/internal/dialect/dialectquery/postgres.go index 4a4b17163..2def6c6ca 100644 --- a/internal/dialect/dialectquery/postgres.go +++ b/internal/dialect/dialectquery/postgres.go @@ -8,7 +8,7 @@ var _ Querier = (*Postgres)(nil) func (p *Postgres) CreateTable(tableName string) string { q := `CREATE TABLE %s ( - id bigint PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, + id integer PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, version_id bigint NOT NULL, is_applied boolean NOT NULL, tstamp timestamp NOT NULL DEFAULT now()