Upgrading table to rename the context->aggregatelevel field which was
really bugging me. Code should be a little bit more readable now. Apologies to those with non-core code already using this field.
This commit is contained in:
@@ -674,11 +674,11 @@ CREATE INDEX prefix_role_sortorder_idx ON prefix_role (sortorder);
|
||||
|
||||
CREATE TABLE prefix_context (
|
||||
id SERIAL PRIMARY KEY,
|
||||
aggregatelevel integer NOT NULL default 0,
|
||||
contextlevel integer NOT NULL default 0,
|
||||
instanceid integer NOT NULL default 0
|
||||
);
|
||||
CREATE INDEX prefix_context_instanceid_idx ON prefix_context (instanceid);
|
||||
CREATE UNIQUE INDEX prefix_context_aggregatelevelinstanceid_idx ON prefix_context (aggregatelevel, instanceid);
|
||||
CREATE UNIQUE INDEX prefix_context_contextlevelinstanceid_idx ON prefix_context (contextlevel, instanceid);
|
||||
|
||||
CREATE TABLE prefix_role_assignments (
|
||||
id SERIAL PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user