Commit graph

7 commits

Author SHA1 Message Date
Yassine Guedidi
f48f982025 Identify platforms by their class 2023-08-05 18:35:09 +01:00
Kevin Decherf
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
Jeremy Benoist
227e44d49c
Fix PG migration 2019-06-19 09:06:58 +02:00
Jeremy Benoist
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
Jeremy Benoist
754bf12e67
Fix SQLite constraint 2019-05-10 21:15:46 +02:00
Jeremy Benoist
d2ef2d6df8
Fix SQLite migration 2019-05-10 20:36:45 +02:00
Jeremy Benoist
637f0df976
Cascade delete on oauth2 table when deleting a user 2019-05-10 20:36:45 +02:00