-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove implicit definition of unique constraint on SETTING table due to test problems #293
Labels
Comments
Ok, this sounds reasonable and if you want you can fix it so application (or database) behaves more predictably. But I see one major problem: you can not modify already applied changesets, you need to write a new changeset that fixes these problems. Also (as an extra) I would:
|
Fizol
added a commit
that referenced
this issue
Dec 7, 2016
Fizol
added a commit
that referenced
this issue
Dec 7, 2016
Fizol
added a commit
that referenced
this issue
Dec 7, 2016
tdziurko
added a commit
that referenced
this issue
Jan 23, 2017
@Fizol What is the status of this issue? I am not sure if it is 100% complete or not :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depending on #291
In Liquibase when you implicitly create unique constraint on column:
You get
But against H2
This gives suprising effects (exception) when you run test with spring boot context and H2 and previously renamed constraint on tables.
Task is to remove this implicit definition and do explicit definition modyfing old changest ("012-create-setting-table"), and in the future define unique constraint names only using 'addUniqueConstraint'.
The text was updated successfully, but these errors were encountered: