You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing some testing, I discovered that if you update the definition of a check constraint when using PostgreSQL with HCL input, the change is not detected or applied. To reproduce, start with an initial schema:
Run a schema apply, which does not detect or apply the change:
$ atlas schema apply -u "postgresql://localhost:5432/testing?sslmode=disable" --dev-url "docker://postgres/14" -f schema.hcl --auto-approve
Schema is synced, no changes to be made
This was discovered using the latest version of Atlas. Please let me know if you would like any additional information.
Thanks!
The text was updated successfully, but these errors were encountered:
When doing some testing, I discovered that if you update the definition of a check constraint when using PostgreSQL with HCL input, the change is not detected or applied. To reproduce, start with an initial schema:
Run a schema apply which creates the table:
Add a constraint to the table definition:
Run a schema apply which creates the constraint:
Modify the constraint definition in the schema, changing "id >= 100" to "id >= 500":
Run a schema apply, which does not detect or apply the change:
This was discovered using the latest version of Atlas. Please let me know if you would like any additional information.
Thanks!
The text was updated successfully, but these errors were encountered: