Append changes instead of overriding

close #428
This commit is contained in:
Nina 2021-02-11 16:47:45 -05:00 committed by Camille Lafitte
parent 7e05910237
commit f56809fd8a
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
-- Add compatibility between url domain type and MX records. @see GH#428
UPDATE domaines_type SET compatibility = 'txt,defmx,defmx2,mx,mx2' WHERE name = 'url';
UPDATE domaines_type SET compatibility=CONCAT_WS(',', compatibility, 'mx') WHERE name='url' AND compatibility NOT LIKE '%,mx%' AND compatibility NOT LIKE 'mx,%';
UPDATE domaines_type SET compatibility=CONCAT_WS(',', compatibility, 'mx2') WHERE name='url' AND compatibility NOT LIKE '%,mx2%' AND compatibility NOT LIKE 'mx2,%';