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

Add missing primary keys #24

Closed
solracsf opened this issue Dec 7, 2020 · 1 comment
Closed

Add missing primary keys #24

solracsf opened this issue Dec 7, 2020 · 1 comment

Comments

@solracsf
Copy link

solracsf commented Dec 7, 2020

As I'm running a MariaDB cluster, migrate to 20.0.2 was expected to fix some (Galera) clustering issues with primary keys on tables. Perhaps, some tables still missing primary keys.

Steps to reproduce

  1. Run occ db:add-missing-primary-keys

Expected behavior

All missing primary keys should be added

Actual behavior

Following tables don't have primary key:

oc_cospend_projects

Upgrade from 19.0.5 to 20.0.2

julien-nc pushed a commit that referenced this issue Dec 8, 2020
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
@julien-nc
Copy link
Owner

Thanks a lot. This primary key is missing since...the beginning 😓. It's been added. The new DB migration step will be in v1.2.3 which is coming soon.

@solracsf solracsf closed this as completed Dec 8, 2020
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

No branches or pull requests

2 participants