Skip to content

Commit 16ebd6f

Browse files
authored
Use BIGSERIAL for auto incremental default IDs. (#300)
1 parent 5d32daa commit 16ebd6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/postgis/spec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (spec *TableSpec) CreateTableSQL() string {
5656
cols := []string{}
5757
if !foundIDCol {
5858
// Create explicit id column only if there is no id configured.
59-
cols = append(cols, "id SERIAL")
59+
cols = append(cols, "id BIGSERIAL")
6060
pkCols = append(pkCols, "id")
6161
}
6262

0 commit comments

Comments
 (0)