Commit Graph

6 Commits

Author SHA1 Message Date
fb5c155484 migrations: fix mysql migration for an edge case
In an unspecified case the schema state was not consistent with the
expected migration plans. This fix ignores two statements by checking
if a foreign key is here or not.

This issue may have been caused by a rewrite of an old migration,
probably through 4acbeb9371

Fixes #4826

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-12-13 18:10:43 +01:00
227e44d49c Fix PG migration 2019-06-19 09:06:58 +02:00
22807de7c5 Fix migration with prefix table name
Looks like we missed one `wallabag_user` in migration.
It can work for most people but if someone use a different prefix, it'll break.
2019-06-18 22:10:46 +02:00
754bf12e67 Fix SQLite constraint 2019-05-10 21:15:46 +02:00
d2ef2d6df8 Fix SQLite migration 2019-05-10 20:36:45 +02:00
637f0df976 Cascade delete on oauth2 table when deleting a user 2019-05-10 20:36:45 +02:00