20 Commits (b8282b1d468fbc98b5034b0e770e889a777ec6e2)

Author SHA1 Message Date
kaiyou b8282b1d46 Support named constraints for multiple backends
Supporting multiple backends requires that specific sqlite
collations are not used, thus lowercase is applied to all non
case-sensitive columns. However, lowercasing the database requires
temporary disabling foreign key constraints, which is not possible
on SQLite and requires we specify the constraint names.

This migration specific to sqlite and postgresql drops every
constraint, whether it is named or not, and recreates all of them
with known names so we can later disable them.
6 years ago
kaiyou e022513a94 Fix support for postgres and mysql 6 years ago
kaiyou a881a1a839 Revert "Make current migrations work with postgresql"
This reverts commit 9b9f3731f6.
6 years ago
kaiyou 76925e82f3 Revert "Implement CIText as NOCASE alternative in postgresql"
This reverts commit 0f3c1b9d15.
6 years ago
Ionut Filip 7b8835070d Added tenacity retry fir migrations connection 6 years ago
Tim Möhlmann 0f3c1b9d15
Implement CIText as NOCASE alternative in postgresql 6 years ago
Tim Möhlmann 9b9f3731f6
Make current migrations work with postgresql 6 years ago
kaiyou 72e1b444ca Merge alembic migrations 6 years ago
kaiyou 5b769e23da Merge branch 'master' into refactor-config 6 years ago
kaiyou 2a8808bdec Add the configuration table migration 6 years ago
kaiyou f6013aa29f Fix an old migration that was reading configuration before migrating 6 years ago
kaiyou 5ada669f43 Rebase reply startdate on master 6 years ago
kaiyou c6846fd8db Merge branch 'master' into feat-reply-startdate 6 years ago
kaiyou fcad52b145 Implement a start date filter for autoreply, fixes #362 6 years ago
Pierre Jaury 76617a3c97 Store the quota status in database 6 years ago
kaiyou bb0d7bf6dc Enforce the nocase collation on the email table 7 years ago
Stefan Auditor f585197e52 Add enabled flag to user model 7 years ago
kaiyou 6d71fa96ad Add a signup field to domains 7 years ago
kaiyou 011e1fa52d Add an end of vacation field, related to #218 7 years ago
kaiyou 689be5f2d9 Move all directories per theme 7 years ago