[enh] preparing for the future : let's allow us to add \n into DNS entries, preparing for ... IPv6 \o/
This commit is contained in:
parent
5a8fd5db20
commit
2695db49a2
|
@ -466,7 +466,7 @@ CREATE TABLE IF NOT EXISTS `domaines_type` (
|
||||||
`name` VARCHAR (30) NOT NULL, -- Uniq name
|
`name` VARCHAR (30) NOT NULL, -- Uniq name
|
||||||
`description` TEXT, -- Human description
|
`description` TEXT, -- Human description
|
||||||
`target` enum ('NONE', 'URL', 'DIRECTORY', 'IP', 'IPV6', 'DOMAIN', 'TXT') NOT NULL DEFAULT 'NONE', -- Target type
|
`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
|
`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 ?
|
`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
|
`only_dns` BOOLEAN DEFAULT FALSE, -- Update_domains modify just the dns, no web configuration
|
||||||
|
|
|
@ -64,4 +64,7 @@ DELETE FROM variable WHERE name IN (
|
||||||
'mail_human_smtps','mail_human_submission', 'mail_human_imap', 'mail_human_smtp',
|
'mail_human_smtps','mail_human_submission', 'mail_human_imap', 'mail_human_smtp',
|
||||||
'ftp_human_name'
|
'ftp_human_name'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
-- we'd like to prepare IPv6 ;)
|
||||||
|
ALTER TABLE `domaines_type` CHANGE `entry` `entry` TEXT DEFAULT '';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue