install:upgrade:5.4.x-to-5.5.0
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
install:upgrade:5.4.x-to-5.5.0 [2021/04/01 10:14] – created miconda | install:upgrade:5.4.x-to-5.5.0 [2021/10/04 15:40] (current) – henningw | ||
---|---|---|---|
Line 30: | Line 30: | ||
==== Renamed Modules ==== | ==== Renamed Modules ==== | ||
- | | + | === userblacklist to userblocklist === |
+ | |||
+ | | ||
+ | |||
+ | Impacted resources: | ||
+ | |||
+ | * version table, userblacklist and globalblacklist entries renamed to userblocklist and globalblocklist | ||
+ | * database table **globalblacklist** renamed to **globalblocklist** - its definition is now: | ||
+ | |||
+ | < | ||
+ | CREATE TABLE globalblocklist ( | ||
+ | id int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
+ | prefix varchar(64) NOT NULL DEFAULT '', | ||
+ | allowlist tinyint(1) NOT NULL DEFAULT 0, | ||
+ | description varchar(255) DEFAULT NULL, | ||
+ | PRIMARY KEY (id), | ||
+ | KEY globalblocklist_idx (prefix) | ||
+ | ); | ||
+ | </ | ||
+ | |||
+ | Note also the changes in the column names and indexes. | ||
+ | |||
+ | |||
+ | * database table **userblacklist** renamed to **userblocklist** - its definition is now: | ||
+ | |||
+ | < | ||
+ | CREATE TABLE userblocklist ( | ||
+ | id int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
+ | username varchar(64) NOT NULL DEFAULT '', | ||
+ | domain varchar(64) NOT NULL DEFAULT '', | ||
+ | prefix varchar(64) NOT NULL DEFAULT '', | ||
+ | allowlist tinyint(1) NOT NULL DEFAULT 0, | ||
+ | PRIMARY KEY (id), | ||
+ | KEY userblocklist_idx (username, | ||
+ | ); | ||
+ | </ | ||
+ | |||
+ | Note also the changes in the column names and indexes. | ||
===== Internal Libraries ===== | ===== Internal Libraries ===== | ||
Line 48: | Line 85: | ||
==== Misc ==== | ==== Misc ==== | ||
+ | * **# | ||
===== Database ===== | ===== Database ===== | ||
Line 56: | Line 94: | ||
<code sql> | <code sql> | ||
- | ... | + | -- topos_d table |
+ | ALTER TABLE topos_d ADD COLUMN x_context varchar(64) NOT NULL DEFAULT ''; | ||
+ | UPDATE version SET table_version=2 WHERE TABLE_NAME=' | ||
+ | |||
+ | -- topos_t table | ||
+ | ALTER TABLE topos_t ADD COLUMN x_context varchar(64) NOT NULL DEFAULT ''; | ||
+ | UPDATE version SET table_version=2 WHERE TABLE_NAME=' | ||
+ | |||
+ | -- uacreg table | ||
+ | ALTER TABLE uacreg ADD COLUMN contact_addr varchar(255) NOT NULL DEFAULT ''; | ||
+ | UPDATE version SET table_version=5 WHERE TABLE_NAME=' | ||
+ | |||
+ | -- IMPORTANT: see also the notes about the userblocklist module | ||
</ | </ |
install/upgrade/5.4.x-to-5.5.0.1617272052.txt.gz · Last modified: 2021/04/01 10:14 by miconda