]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Merge pull request #5109 from rabuzarus/20180522_-_frio_nav_about_instance
[friendica.git] / database.sql
index 7169847ba3b14a1fe103537b8f7d974f0362cc1a..64ac656fd92ec76e2d4476014b8f87f03974db85 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2018.05-rc (The Tazmans Flax-lily)
--- DB_UPDATE_VERSION 1263
+-- DB_UPDATE_VERSION 1265
 -- ------------------------------------------
 
 
@@ -855,9 +855,10 @@ CREATE TABLE IF NOT EXISTS `push_subscriber` (
        `callback_url` varchar(255) NOT NULL DEFAULT '' COMMENT '',
        `topic` varchar(255) NOT NULL DEFAULT '' COMMENT '',
        `nickname` varchar(255) NOT NULL DEFAULT '' COMMENT '',
-       `push` tinyint unsigned NOT NULL DEFAULT 0 COMMENT 'Retrial counter',
+       `push` tinyint NOT NULL DEFAULT 0 COMMENT 'Retrial counter',
        `last_update` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of last successful trial',
        `next_try` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Next retrial date',
+       `renewed` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of last subscription renewal',
        `secret` varchar(255) NOT NULL DEFAULT '' COMMENT '',
         PRIMARY KEY(`id`),
         INDEX `next_try` (`next_try`)