mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Missing foreign keys SQLite #132
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Boy132 on GitHub (Jul 12, 2024).
Originally assigned to: @Boy132 on GitHub.
The following foreign keys are missing when using SQLite:
This is because you can only alter foreign keys when a table is created. The above foreign keys are created in migrations after the table is created thus they are missing.
@rmartinoscar commented on GitHub (Jul 12, 2024):
So should we use a schema for sqlite aswell then ?
@notAreYouScared commented on GitHub (Jul 12, 2024):
This would require the end user to install the sqlite client packages, somthing were trying to avoid. But might not be an option.
@rmartinoscar commented on GitHub (Jul 12, 2024):
You did it anyway for mysql/mariadb why bother with sqlite3 ?
If i want to use either of them i must install the client even if the instance is on an other machine.