From f8c48165c6cf3df92ad9ddefd2190a6f7632e004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20Sj=C3=B6berg?= Date: Tue, 19 Nov 2013 22:44:16 +0200 Subject: [PATCH] Added push_subscriber table to database.sql. --- database.sql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/database.sql b/database.sql index 69d87c3698..2c557a3e78 100644 --- a/database.sql +++ b/database.sql @@ -1156,3 +1156,22 @@ CREATE TABLE IF NOT EXISTS `tag` ( PRIMARY KEY (`iid`, `tag`), KEY `tag` (`tag`) ) 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; +