Merge branch 'feature-ssl' of github.com:AlternC/AlternC into feature-ssl
This commit is contained in:
commit
272cee3f5f
|
@ -784,6 +784,7 @@ CREATE TABLE `certificates` (
|
||||||
`sslkey` text NOT NULL,
|
`sslkey` text NOT NULL,
|
||||||
`sslcrt` text NOT NULL,
|
`sslcrt` text NOT NULL,
|
||||||
`sslchain` text NOT NULL,
|
`sslchain` text NOT NULL,
|
||||||
|
`created_at` DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `uid` (`uid`)
|
KEY `uid` (`uid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
DROP TABLE `certif_alias`;
|
DROP TABLE `certif_alias`;
|
||||||
ALTER TABLE `certificates` DROP `shared`, DROP `ssl_action`, DROP `ssl_result`;
|
ALTER TABLE `certificates` DROP `shared`, DROP `ssl_action`, DROP `ssl_result`;
|
||||||
|
ALTER TABLE `certificates` ADD `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP;
|
||||||
|
|
||||||
ALTER TABLE `sub_domaines`
|
ALTER TABLE `sub_domaines`
|
||||||
ADD `certificate_id` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `enable`,
|
ADD `certificate_id` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `enable`,
|
||||||
|
|
Loading…
Reference in New Issue