diff --git a/install/mysql.sql b/install/mysql.sql index e4e9acdf..fc377c56 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -466,7 +466,7 @@ CREATE TABLE IF NOT EXISTS `domaines_type` ( `name` VARCHAR (30) NOT NULL, -- Uniq name `description` TEXT, -- Human description `target` enum ('NONE', 'URL', 'DIRECTORY', 'IP', 'IPV6', 'DOMAIN', 'TXT') NOT NULL DEFAULT 'NONE', -- Target type - `entry` VARCHAR (255) DEFAULT '', -- BIND entry + `entry` TEXT DEFAULT '', -- BIND entry `compatibility` VARCHAR (255) DEFAULT '', -- Which type can be on the same subdomains `enable` enum ('ALL', 'NONE', 'ADMIN') NOT NULL DEFAULT 'ALL', -- Show this option to who ? `only_dns` BOOLEAN DEFAULT FALSE, -- Update_domains modify just the dns, no web configuration diff --git a/install/upgrades/3.5.0.1.sql b/install/upgrades/3.5.0.1.sql index c057bc85..b53fbe8a 100644 --- a/install/upgrades/3.5.0.1.sql +++ b/install/upgrades/3.5.0.1.sql @@ -64,4 +64,7 @@ DELETE FROM variable WHERE name IN ( 'mail_human_smtps','mail_human_submission', 'mail_human_imap', 'mail_human_smtp', 'ftp_human_name' ); - + +-- we'd like to prepare IPv6 ;) +ALTER TABLE `domaines_type` CHANGE `entry` `entry` TEXT DEFAULT ''; +