diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-12 20:04:19 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-12 20:04:19 -0700 |
commit | facc6ee6b32df5c51d7f00bda1caa0469d4f71e3 (patch) | |
tree | 6e519117a19b01d9ad29bbf8028f0f59ad494b05 /install/schema_postgres.sql | |
parent | 9a2f86e9ad3afadfafab59568bec6749a75478ab (diff) | |
download | volse-hubzilla-facc6ee6b32df5c51d7f00bda1caa0469d4f71e3.tar.gz volse-hubzilla-facc6ee6b32df5c51d7f00bda1caa0469d4f71e3.tar.bz2 volse-hubzilla-facc6ee6b32df5c51d7f00bda1caa0469d4f71e3.zip |
allow hooks to have negative priority
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index ab9a5cff4..a682aa49d 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -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 '', |