allow hooks to have negative priority
This commit is contained in:
@@ -492,13 +492,15 @@ CREATE TABLE "hook" (
|
||||
"hook" text NOT NULL,
|
||||
"file" text NOT NULL,
|
||||
"fn" text NOT NULL,
|
||||
"priority" bigint NOT NULL DEFAULT '0',
|
||||
"priority" smallint NOT NULL DEFAULT '0',
|
||||
"hook_version" smallint NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY ("id")
|
||||
|
||||
);
|
||||
create index "hook_idx" on hook ("hook");
|
||||
create index "hook_version_idx" on hook ("hook_version");
|
||||
create index "hook_priority_idx" on hook ("priority");
|
||||
|
||||
CREATE TABLE "hubloc" (
|
||||
"hubloc_id" serial NOT NULL,
|
||||
"hubloc_guid" text NOT NULL DEFAULT '',
|
||||
|
Reference in New Issue
Block a user