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

Fixes compatibility with MySQL sql_require_primary_key=ON #10

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

Conversation

ikrestov
Copy link

@ikrestov ikrestov commented Jun 3, 2024

We had an issue installing this on a website using DigitalOcean Managed MySQL due to hosted database running with sql_require_primary_key=ON.

This amends create schema to use PRIMARY KEY instead of UNIQUE KEY

For additional context: sql_require_primary_key=ON is preferred as it helps with node migration/ replications in complex topologies or managed environments (e.g. DO) where it can not be disabled or is not recommended.

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.

1 participant