Merge pull request #5080 from annando/changed-structure

Changed database structure
This commit is contained in:
Hypolite Petovan 2018-05-18 08:53:37 -04:00 committed by GitHub
commit 599551ba51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
-- ------------------------------------------
-- Friendica 2018.05-rc (The Tazmans Flax-lily)
-- DB_UPDATE_VERSION 1263
-- DB_UPDATE_VERSION 1264
-- ------------------------------------------
@ -858,6 +858,7 @@ CREATE TABLE IF NOT EXISTS `push_subscriber` (
`push` tinyint unsigned 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`)