Open javimata opened 3 weeks ago
When the DB is empty this schema work fine, when the DB have info this crash
Did you add or remove any columns when this happened?
Did you add or remove any columns when this happened?
I add a new column, i use --force-reset and my db is erased and add the new columns, but i need do --forcec-reset each that i need do a push, and i don't wanna erase my db info in each update
Which is the new column you added that triggered this problem?
Which is the new column you added that triggered this problem?
The last one is un Users the column notes, now i'm adding 2 new tables and receive the same error, always need put --force-reset, this is not functional for me
Astro Info
If this issue only occurs in one browser, which browser is a problem?
cli
Describe the Bug
I have this schema but i receive a error
Database schema is out of date. Pushing database schema updates... https://db.services.astro.build/db/push failed: 400 Bad Request {"success":false,"error":{"code":"SQL_QUERY_FAILED","details":"SQLITE_CONSTRAINT: SQLite error: FOREIGN KEY constraint failed"}} /db/push fetch failed: 400 Bad Request
What's the expected result?
a clean push to studio
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-rjvwlr
Participation