Skip to content

Commit

Permalink
use integer instead of bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Aug 27, 2024
1 parent dcd1b7e commit 0aeebb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dialect/dialectquery/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0aeebb1

Please sign in to comment.