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

Sqlite migration directus v9.7.1 to v9.9.0 fails #12795

Closed
Pachat opened this issue Apr 16, 2022 · 1 comment
Closed

Sqlite migration directus v9.7.1 to v9.9.0 fails #12795

Pachat opened this issue Apr 16, 2022 · 1 comment

Comments

@Pachat
Copy link

Pachat commented Apr 16, 2022

Describe the Bug

When runningnpx directus database migrate:latest

09:31:42 Running migrations...
09:31:43 Applying Add Bookmark Icon and Color...
09:31:43 Applying Add Field Validation...
09:31:43 Applying Fix Typecast Flags...
09:31:43 Applying Add Default Language...
09:31:43 DROP TABLE "directus_users" - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed

To Reproduce

Over 9.7.1
npm install directus
npx directus database migrate:latest

Errors Shown

Error: DROP TABLE "directus_users" - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed

What version of Directus are you using?

9.7.1

What version of Node.js are you using?

v16.14.0

What database are you using?

SQLite 3.37

What browser are you using?

Firefox

How are you deploying Directus?

locally

@azrikahar
Copy link
Contributor

Thanks for opening this issue! However this is a duplicate of an existing issues #12529 #10842, so I'll proceed to close this but if you think this is actually a different issue, then please do not hesitate to comment. Otherwise you may subscribe to #10842 for future updates. 1

Footnotes

  1. This is an automated response.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants