Major new feature: Allow to restrict plugin hooks and plugins to only specific usergroups
This commit is contained in:
20
sql/db_update_1.1-beta3_1.1-beta4_sqlite.sql
Normal file
20
sql/db_update_1.1-beta3_1.1-beta4_sqlite.sql
Normal file
@ -0,0 +1,20 @@
|
||||
create table {PREFIX}tempgroupconfig (
|
||||
id int(10) {UNSIGNED} not null default '0',
|
||||
property varchar(128) default null,
|
||||
value varchar(32) default null
|
||||
) {UTF_8};
|
||||
|
||||
INSERT INTO {PREFIX}tempgroupconfig (id,property,value) SELECT id,property,value FROM {PREFIX}groupconfig;
|
||||
DROP TABLE {PREFIX}groupconfig;
|
||||
|
||||
create table {PREFIX}groupconfig (
|
||||
id int(10) {UNSIGNED} not null default '0',
|
||||
property varchar(128) default null,
|
||||
value varchar(32) default null
|
||||
) {UTF_8};
|
||||
|
||||
CREATE INDEX groupid_idx ON {PREFIX}groupconfig (id);
|
||||
CREATE INDEX groupprop_idx ON {PREFIX}groupconfig (id, property);
|
||||
|
||||
INSERT INTO {PREFIX}groupconfig (id,property,value) SELECT id,property,value FROM {PREFIX}tempgroupconfig;
|
||||
DROP TABLE {PREFIX}tempgroupconfig;
|
Reference in New Issue
Block a user