From 1d28411a65430d6c71d91c8d26c7f0f91ce650c2 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Tue, 1 Feb 2011 22:50:58 +0000 Subject: [PATCH] Infos de migrations massvirtual hosting => virtual hosting --- install/upgrades/1.0.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/upgrades/1.0.sql b/install/upgrades/1.0.sql index bac0c61d..15b11504 100644 --- a/install/upgrades/1.0.sql +++ b/install/upgrades/1.0.sql @@ -49,3 +49,8 @@ update sub_domaines set type='IPV6' where type='4'; update sub_domaines set type='CNAME' where type='5'; update sub_domaines set type='TXT' where type='6'; +-- If people want to stop using mass virtual hosting and use only virtual hosting : +-- insert into sub_domaines (compte, domaine, sub, valeur, type,web_action) select compte, domaine, sub, valeur, 'local', 'UPDATE' +-- from sub_domaines where lower(type)='massvhost'; +-- update sub_domaines set web_action = 'DELETE' where lower(type)='massvhost'; +