equal
deleted
inserted
replaced
1 -- Enano CMS |
|
2 -- Upgrade schema: 1.1.2 - 1.1.3 |
|
3 |
|
4 -- Storing obscenely huge integers as strings since that's how php processes them. |
|
5 |
|
6 CREATE TABLE {{TABLE_PREFIX}}diffiehellman ( |
|
7 key_id int(12) NOT NULL auto_increment, |
|
8 private_key text, |
|
9 public_key text, |
|
10 PRIMARY KEY ( key_id ) |
|
11 ) CHARACTER SET `utf8` COLLATE `utf8_bin`; |
|
12 |
|
13 ALTER TABLE {{TABLE_PREFIX}}session_keys MODIFY COLUMN source_ip varchar(39) NOT NULL DEFAULT '127.0.0.1'; |
|
14 ALTER TABLE {{TABLE_PREFIX}}themes MODIFY COLUMN group_policy ENUM('allow_all', 'whitelist', 'blacklist') NOT NULL DEFAULT 'allow_all'; |
|
15 UPDATE {{TABLE_PREFIX}}themes SET group_policy = 'allow_all'; |
|