ajout d'un champ zonettl sur les domaines
This commit is contained in:
parent
f9a8b51ac1
commit
1a7ffdfcce
|
@ -115,6 +115,7 @@ CREATE TABLE IF NOT EXISTS domaines (
|
|||
noerase tinyint(4) NOT NULL default '0',
|
||||
dns_action enum ('OK','UPDATE','DELETE') NOT NULL default 'UPDATE',
|
||||
dns_result varchar(255) not null default '',
|
||||
zonettl int(10) unsigned NOT NULL default '86400',
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY (domaine)
|
||||
) ENGINE=MyISAM;
|
||||
|
|
|
@ -40,3 +40,7 @@ CREATE TABLE IF NOT EXISTS `actions` (
|
|||
status int(8) unsigned default NULL,
|
||||
PRIMARY KEY ( `id` )
|
||||
) ENGINE=MyISAM COMMENT = 'generic actions';
|
||||
|
||||
-- Alter table domaines to add zone ttl field
|
||||
ALTER TABLE `domaines` ADD zonettl int(10) unsigned NOT NULL default '86400';
|
||||
|
||||
|
|
Loading…
Reference in New Issue