We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The schema snapshot is not aligned with the MYSQL database snapshot.
Using mysql and the following schema file (rename to .yaml) we are unable to apply the snapshot again and again.
(rename to .yaml)
schemap.txt
Download and rename the snapshot to schema.yaml
schema.yaml
On a fresh database after running npx directus bootstrap
npx directus bootstrap
Run directus schema apply ./schema.yaml --yes // should work
directus schema apply ./schema.yaml --yes
Then try once again directus schema apply ./schema.yaml // Notice that it wants to make a lot of updates even though you just applied it.
directus schema apply ./schema.yaml
Saying yes, would attempt to update the db, but will fail due to foreign key constraints.
10.6-10.7
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
The schema snapshot is not aligned with the MYSQL database snapshot.
Using mysql and the following schema file
(rename to .yaml)
we are unable to apply the snapshot again and again.schemap.txt
To Reproduce
Download and rename the snapshot to
schema.yaml
On a fresh database after running
npx directus bootstrap
Run
directus schema apply ./schema.yaml --yes
// should workThen try once again
directus schema apply ./schema.yaml
// Notice that it wants to make a lot of updates even though you just applied it.Saying yes, would attempt to update the db, but will fail due to foreign key constraints.
Directus Version
10.6-10.7
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: