1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/core/admin/mailu
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.
2018-12-10 15:16:30 +01:00
..
internal Merge remote-tracking branch 'upstream/master' into refactor-config 2018-12-06 10:23:43 +01:00
translations Remove services status localization 2018-04-23 18:59:46 +02:00
ui Merge remote-tracking branch 'upstream/master' into refactor-config 2018-12-06 10:23:43 +01:00
__init__.py Merge branch 'master' into refactor-config 2018-11-08 21:43:05 +01:00
configuration.py Revert "Make current migrations work with postgresql" 2018-12-10 15:03:12 +01:00
debug.py Clean most of the refactored code 2018-10-18 17:55:07 +02:00
dkim.py Move all directories per theme 2017-11-01 12:11:04 +01:00
manage.py Add a mailu command line to flask 2018-11-08 21:29:30 +01:00
models.py Support named constraints for multiple backends 2018-12-10 15:16:30 +01:00
utils.py Explicitely declare flask migrate 2018-11-08 20:32:23 +01:00