fixing for real the upgrade path
This commit is contained in:
parent
c298cd4aaf
commit
0fa8aa8fc6
|
@ -747,5 +747,6 @@ CREATE TABLE IF NOT EXISTS `alternc_status` (
|
|||
KEY `name` (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
||||
INSERT INTO alternc_status SET name='alternc_version',value='3.1.0~c.sh';
|
||||
INSERT INTO alternc_status SET name='alternc_version',value='3.1.1~a.sql';
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
ALTER TABLE variable DROP PRIMARY KEY;
|
||||
ALTER TABLE variable ADD id bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;
|
||||
ALTER TABLE variable ADD strata enum('DEFAULT','GLOBAL','FQDN', 'FQDN_CREATOR', 'CREATOR', 'MEMBER', 'DOMAIN') NOT NULL DEFAULT 'DEFAULT';
|
||||
ALTER TABLE variable ADD strata_id bigint DEFAULT NULL;
|
||||
ALTER TABLE variable ADD type text DEFAULT '';
|
||||
ALTER TABLE variable ADD UNIQUE (name, strata, strata_id);
|
||||
|
||||
ALTER TABLE actions MODIFY COLUMN type enum('CREATE_FILE','FIX_USER','CREATE_DIR','DELETE','MOVE','FIX_DIR','FIX_FILE');
|
||||
|
Loading…
Reference in New Issue