-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
💡 Changed the lock_key column constraint to primary key #243
Conversation
ad8bb71
to
fdd58cb
Compare
issue https://github.com/TryGhost/Team/issues/267 Tables without primary keys cause issues with MySQL replication & clustering.
5e7cc7d
to
b5b7583
Compare
issue TryGhost/Team#267 - Tables without primary keys cause issues with MySQL replication & clustering.
b5b7583
to
169ebf6
Compare
@@ -798,5 +798,23 @@ _.each(['default', 'migrateInit'], function (initMethod) { | |||
}); | |||
}); | |||
}); | |||
|
|||
it('change current version', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much love for this ❤️
@tpatel our of curiosity, was there a particular reason why we didn't go with async/await syntax here? The change is good otherwise 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃
Also, approving this with knowledge in mind that the primary key migrations were copied from Ghost and will be extracted into utilities package when there's time. For now it's a "good enough" approach 👍 |
The reason is that the linter was screaming at me for using async/await for some reason, and I didn't want to go down a rabbit hole changing it so I followed its directions 😂 |
issue https://github.com/TryGhost/Team/issues/267
Tables without primary keys cause issues with MySQL replication & clustering.