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

pkp/pkp-lib#9487 Skipped non-conforming setting tables from failing the migration #4096

Conversation

jonasraoni
Copy link
Contributor

No description provided.

Copy link
Member

@asmecher asmecher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will work for cases like rt_settings where there is no setting_type column, but other cases where the result columns are not as expected will not work. What do you think about adding an explicit list of necessary columns that are used in the _toJSON function, and checking them against the table's column list? Alternately, it would be OK IMO to specifically exclude the rt_settings table, as that's a known pitfall for users with old databases.

@jonasraoni jonasraoni force-pushed the bugfix/stable-3_3_0/9487-fix-migration-exception branch from 0d22700 to 3645c40 Compare January 11, 2024 08:08
@jonasraoni jonasraoni merged commit 2daac84 into pkp:stable-3_3_0 Jan 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to 3.3.x can be interrupted due to non-conforming *_settings tables
2 participants