diff options
author | David Rothstein <drothstein@gmail.com> | 2013-03-10 15:29:57 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-03-10 15:29:57 -0400 |
commit | b5d7ec61998fcb0d21ceabdce41ff0d5c58648c6 (patch) | |
tree | bb128c742de452b082bcd41dde03deda8d4879ec | |
parent | a9ec210f7a651bdd8dce8c3879f016ed64b429ff (diff) | |
download | brdo-b5d7ec61998fcb0d21ceabdce41ff0d5c58648c6.tar.gz brdo-b5d7ec61998fcb0d21ceabdce41ff0d5c58648c6.tar.bz2 |
Issue #1827136 by amatzies, patrickd, posulliv | earnie: Add severity index to watchdog table.
-rw-r--r-- | modules/dblog/dblog.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/dblog/dblog.install b/modules/dblog/dblog.install index 1eedcb0d6..abfd9a2c9 100644 --- a/modules/dblog/dblog.install +++ b/modules/dblog/dblog.install @@ -85,6 +85,7 @@ function dblog_schema() { 'indexes' => array( 'type' => array('type'), 'uid' => array('uid'), + 'severity' => array('severity'), ), ); @@ -140,3 +141,19 @@ function dblog_update_7001() { /** * @} End of "addtogroup updates-6.x-to-7.x". */ + +/** + * @addtogroup updates-7.x-extra + * @{ + */ + +/** + * Add an index to the severity column in the watchdog database table. + */ +function dblog_update_7002() { + db_add_index('watchdog', 'severity', array('severity')); +} + +/** + * @} End of "addtogroup updates-7.x-extra". + */ |