-
Notifications
You must be signed in to change notification settings - Fork 492
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
Can't deploy: ERROR: column "id" of relation "setting" already exists #6165
Comments
I'm on 6dd0cfc but I suspect others might be affected (on "develop" for example) if they drop their database like I just did. I believe the fix is our (new) usual "IF NOT EXISTS" fix. Does that sound right @scolapasta @landreev ? |
This one too: Caused by: org.flywaydb.core.internal.sqlscript.FlywaySqlScriptException:
|
Same trouble on phoenix on "develop". Can't deploy. It's on 9f41601. Here's a screenshot: |
I just made pull request #6166 and I think new installations won't work without a fix like this. |
get deployment working again for new installations #6165
Caused by: org.flywaydb.core.internal.sqlscript.FlywaySqlScriptException:
Migration V4.16.0.1__5303-addColumn-to-settingTable.sql failed
SQL State : 42701
Error Code : 0
Message : ERROR: column "id" of relation "setting" already exists
Location : db/migration/V4.16.0.1__5303-addColumn-to-settingTable.sql (/usr/local/glassfish4/glassfish/domains/domain1/applications/da
taverse/WEB-INF/classes/db/migration/V4.16.0.1__5303-addColumn-to-settingTable.sql)
Line : 3
Statement : ALTER TABLE setting ADD COLUMN ID SERIAL PRIMARY KEY
The text was updated successfully, but these errors were encountered: