Posgtres Identity Field Error
Author: cemoCreated Dec 30, 2022Updated Sep 29, 2026
I am trying to add identity column but having an error. I am using latest v0.8.3 of Atlas and installed with brew.
table "application" {
schema = schema.public
column "id" {
null = false
type = integer
identity {
generated = ALWAYS
}
}
primary_key {
columns = [column.id]
}
}
schema "public" {
} Error: reverse alter table "application": unexpected attribute change (expect IDENTITY): []
Any help?
Source: ariga/atlas