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_mysql.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_mysql.sql')
-rw-r--r-- | install/schema_mysql.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index d72684a90..4cbcfc64d 100644 --- a/install/schema_mysql.sql +++ b/install/schema_mysql.sql @@ -504,10 +504,11 @@ CREATE TABLE IF NOT EXISTS `hook` ( `hook` char(255) NOT NULL DEFAULT '', `file` char(255) NOT NULL DEFAULT '', `fn` char(255) NOT NULL DEFAULT '', - `priority` int(11) unsigned NOT NULL DEFAULT '0', + `priority` smallint NOT NULL DEFAULT '0', `hook_version` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `hook` (`hook`), + KEY `priority` (`priority`), KEY `hook_version` (`hook_version`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |