31 Revīzijas (2c90ac3334884fe5c9878a0ed8571b4867e92de9)

Autors SHA1 Ziņojums Datums
Tim Möhlmann 111dae351a
Fix typo in migration file
Fixes #905
pirms 7 gadiem
hoellen f1e1c96c3b create migration file for changing quota to big integer pirms 7 gadiem
hoellen 2af540a1c9 change quota columns to bigint pirms 7 gadiem
Tim Möhlmann 8541ae2c46
Fix migration order after merge pirms 7 gadiem
mergify[bot] 99cd1d714b
Merge pull request #799 from hoellen/fix-domain-negative-values-1
don't allow negative values on domain creation/edit
pirms 7 gadiem
Ionut Filip 2b0a2d561b Fix connection to mysql db pirms 7 gadiem
hoellen 501ecf13c1 add migration script pirms 7 gadiem
kaiyou 19f18e2240 Lowercase relays as well as other tables pirms 7 gadiem
kaiyou 871aa14c9a Lowercase every domain name and email pirms 7 gadiem
kaiyou 3df9b3962d Add default columns to the configuration table pirms 7 gadiem
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.
pirms 7 gadiem
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.
pirms 7 gadiem
kaiyou e022513a94 Fix support for postgres and mysql pirms 7 gadiem
kaiyou a881a1a839 Revert "Make current migrations work with postgresql"
This reverts commit 9b9f3731f6.
pirms 7 gadiem
kaiyou 76925e82f3 Revert "Implement CIText as NOCASE alternative in postgresql"
This reverts commit 0f3c1b9d15.
pirms 7 gadiem
Ionut Filip 7b8835070d Added tenacity retry fir migrations connection pirms 7 gadiem
Tim Möhlmann 0f3c1b9d15
Implement CIText as NOCASE alternative in postgresql pirms 7 gadiem
Tim Möhlmann 9b9f3731f6
Make current migrations work with postgresql pirms 7 gadiem
kaiyou 72e1b444ca Merge alembic migrations pirms 7 gadiem
kaiyou 5b769e23da Merge branch 'master' into refactor-config pirms 7 gadiem
kaiyou 2a8808bdec Add the configuration table migration pirms 7 gadiem
kaiyou f6013aa29f Fix an old migration that was reading configuration before migrating pirms 7 gadiem
kaiyou 5ada669f43 Rebase reply startdate on master pirms 7 gadiem
kaiyou c6846fd8db Merge branch 'master' into feat-reply-startdate pirms 7 gadiem
kaiyou fcad52b145 Implement a start date filter for autoreply, fixes #362 pirms 7 gadiem
Pierre Jaury 76617a3c97 Store the quota status in database pirms 8 gadiem
kaiyou bb0d7bf6dc Enforce the nocase collation on the email table pirms 8 gadiem
Stefan Auditor f585197e52 Add enabled flag to user model pirms 8 gadiem
kaiyou 6d71fa96ad Add a signup field to domains pirms 8 gadiem
kaiyou 011e1fa52d Add an end of vacation field, related to #218 pirms 8 gadiem
kaiyou 689be5f2d9 Move all directories per theme pirms 8 gadiem