00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 $installer = $this;
00028
00029
00030 $installer->startSetup();
00031 $installer->run("
00032 -- DROP TABLE IF EXISTS `{$installer->getTable('adminnotification_inbox')}`;
00033 CREATE TABLE IF NOT EXISTS `{$installer->getTable('adminnotification_inbox')}` (
00034 `notification_id` int(10) unsigned NOT NULL auto_increment,
00035 `severity` tinyint(3) unsigned NOT NULL default '0',
00036 `date_added` datetime NOT NULL,
00037 `title` varchar(255) NOT NULL,
00038 `description` text,
00039 `url` varchar(255) NOT NULL,
00040 `is_read` tinyint(1) unsigned NOT NULL default '0',
00041 `is_remove` tinyint(1) unsigned NOT NULL default '0',
00042 PRIMARY KEY (`notification_id`),
00043 KEY `IDX_SEVERITY` (`severity`),
00044 KEY `IDX_IS_READ` (`is_read`),
00045 KEY `IDX_IS_REMOVE` (`is_remove`)
00046 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
00047 ");
00048 $installer->endSetup();