Commit 1a7ffdfc authored by domi's avatar domi
Browse files

ajout d'un champ zonettl sur les domaines

parent f9a8b51a
......@@ -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';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment