You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ferdinand Mütsch edited this page Dec 14, 2021
·
1 revision
For quite a while, Wakapi didn't define foreign key constraints on database tables and then introduced them retroactively. While this works well for MySQL and Postgres, it can't easily be done for SQLite databases. Foreign key constraints are not strictly necessary for Wakapi to function, however, a couple of issues (#177, #277, #210, #99) arose from this and a fewhacks were introduced. To retroactively enable your already existing SQLite database for foreign keys constraint checking and make proper use of cascading deletes, the easiest way is to let Wakapi create a new database and then copy over your old data.
Step 1: Make sure you're on Wakapi version 1.30.2 or higher