Also support "last X" REST interface
This commit is contained in:
21
sql/db_update_0.9-alpha2_0.9-alpha3_mysql.sql
Normal file
21
sql/db_update_0.9-alpha2_0.9-alpha3_mysql.sql
Normal file
@ -0,0 +1,21 @@
|
||||
create table {PREFIX}groups (
|
||||
id {AUTOINCREMENT} {PRIMARY},
|
||||
name varchar(64) default null
|
||||
);
|
||||
|
||||
create table {PREFIX}groupconfig (
|
||||
id int(10) {UNSIGNED} not null default '0',
|
||||
property varchar(64) default null,
|
||||
value varchar(128) default null
|
||||
);
|
||||
|
||||
CREATE INDEX groupid_idx ON {PREFIX}groupconfig (id);
|
||||
CREATE INDEX groupprop_idx ON {PREFIX}groupconfig (id, property);
|
||||
|
||||
create table {PREFIX}authorgroups (
|
||||
groupid int(10) {UNSIGNED} not null default '0',
|
||||
authorid int(10) {UNSIGNED} not null default '0'
|
||||
);
|
||||
|
||||
CREATE INDEX authorgroup_idxA ON {PREFIX}authorgroups (groupid);
|
||||
CREATE INDEX authorgroup_idxB ON {PREFIX}authorgroups (authorid);
|
Reference in New Issue
Block a user