Add primary keys to SQL tables for percona/galera support #1337
Labels
Milestone
Comments
This is definitely something we can do. We have a plan to make some changes to the DB schema shortly so I will try to squeeze that in then. |
@james-d-elliott Awesome. |
Yeah making them primary should be fine, it's just making sure everyone is on the same schema state when we do it. That way there is no desync. |
Yeah the migration is the most work indeed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Percona is quite strict on having primary keys on all tables (and rightly so).
Please add primary keys to all tables, even if it's just an auto-increment.
It's mostly just the following tables:
authentication_logs (could just get a auto-increment primary key added)
identity_verification_tokens (could just set the token as primary key)
The text was updated successfully, but these errors were encountered: