Added push_subscriber table to database.sql.
This commit is contained in:
parent
1234282b8b
commit
862a5e1474
1 changed files with 19 additions and 0 deletions
19
database.sql
19
database.sql
|
@ -1156,3 +1156,22 @@ CREATE TABLE IF NOT EXISTS `tag` (
|
||||||
PRIMARY KEY (`iid`, `tag`),
|
PRIMARY KEY (`iid`, `tag`),
|
||||||
KEY `tag` (`tag`)
|
KEY `tag` (`tag`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `push_subscriber`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `push_subscriber` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`uid` int(11) NOT NULL,
|
||||||
|
`callback_url` char(255) NOT NULL,
|
||||||
|
`topic` char(255) NOT NULL,
|
||||||
|
`nickname` char(255) NOT NULL,
|
||||||
|
`push` int(11) NOT NULL,
|
||||||
|
`last_update` datetime NOT NULL,
|
||||||
|
`secret` char(255) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue