Skip to content
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

Empty table before adding primary key #560

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrauh01
Copy link

@jrauh01 jrauh01 commented Jan 10, 2025

The addition of the primary key can cause problems for populated tables due to duplicate entries. Therefore we delete the existing data from 'vspheredb_daemonlog' table before adding the primary key.

Refs #559
Fixes #558

The addition of the primary key can cause problems for populated tables
due to duplicate entries. Therefore we delete the existing data before
adding the primary key.
@jrauh01 jrauh01 force-pushed the empty-table-before-adding-pk branch from a6a5214 to e766eb0 Compare January 10, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade_59.sql fails on existing servers
1 participant