fix(legacy): clean sql migrations files (#1545)

* fix(legacy): do not fail on fresh sql migration

* fix(legacy): sql only drop if exists

* fix(legacy): remove unused in db locales

These inserts are making migration fail
This commit is contained in:
Jonas L 2022-01-31 10:19:53 +01:00 committed by GitHub
parent a15e1fead5
commit 81fc0c9afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 27 deletions

View file

@ -1,6 +1,6 @@
----------------------------------------------------------------------------------
--calculate_position()
-- calculate_position()
----------------------------------------------------------------------------------
DROP FUNCTION calculate_position() CASCADE;
DROP FUNCTION IF EXISTS calculate_position CASCADE;
--remove this trigger for group adds/delete
-- remove this trigger for group adds/delete