35 Commits (master)

Author SHA1 Message Date
Alexander Graf e75201bb34
Add default to column spam_mark_as_read 3 years ago
İbrahim Akyel f65e2fc469 Feature: Marking "Read" spam mails 3 years ago
Alexander Graf f613205fe1 update tenacity 3 years ago
Alexander Graf 9bc685c30b removed some more whitespace 3 years ago
Tim Möhlmann 111dae351a
Fix typo in migration file
Fixes #905
6 years ago
hoellen f1e1c96c3b create migration file for changing quota to big integer 6 years ago
hoellen 2af540a1c9 change quota columns to bigint 6 years ago
Tim Möhlmann 8541ae2c46
Fix migration order after merge 6 years ago
mergify[bot] 99cd1d714b
Merge pull request #799 from hoellen/fix-domain-negative-values-1
don't allow negative values on domain creation/edit
6 years ago
Ionut Filip 2b0a2d561b Fix connection to mysql db 6 years ago
hoellen 501ecf13c1 add migration script 6 years ago
kaiyou 19f18e2240 Lowercase relays as well as other tables 6 years ago
kaiyou 871aa14c9a Lowercase every domain name and email 6 years ago
kaiyou 3df9b3962d Add default columns to the configuration table 6 years ago
kaiyou b88f61f183 Name all constraints when creating them
Prefious commit set the constraint names for existing databases.
New databases can now have named constraints from the ground up.
6 years ago
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