diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-11-19 10:42:18 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-11-19 10:42:18 +0100 |
commit | ae97649948b8af575441e5a1f5b69db9f627a0e2 (patch) | |
tree | 5b43500ea28592e571c0e7ee9821522fa32d815b /install/schema_mysql.sql | |
parent | f15e32d0637fdf84de7cab43b558ec8a383d3cf5 (diff) | |
download | volse-hubzilla-ae97649948b8af575441e5a1f5b69db9f627a0e2.tar.gz volse-hubzilla-ae97649948b8af575441e5a1f5b69db9f627a0e2.tar.bz2 volse-hubzilla-ae97649948b8af575441e5a1f5b69db9f627a0e2.zip |
update sql schemas to include update column in pconfig table
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r-- | install/schema_mysql.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index ef7e2a516..7b7d9cc3a 100644 --- a/install/schema_mysql.sql +++ b/install/schema_mysql.sql @@ -910,7 +910,6 @@ CREATE TABLE IF NOT EXISTS `outq` ( KEY `outq_priority` (`outq_priority`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - CREATE TABLE IF NOT EXISTS pchan ( `pchan_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `pchan_guid` char(191) NOT NULL DEFAULT '', @@ -922,15 +921,16 @@ CREATE TABLE IF NOT EXISTS pchan ( KEY `pchan_hash` (`pchan_hash`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - CREATE TABLE IF NOT EXISTS `pconfig` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` int(11) NOT NULL DEFAULT 0 , `cat` char(191) NOT NULL DEFAULT '', `k` char(191) NOT NULL DEFAULT '', `v` mediumtext NOT NULL, + `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00', PRIMARY KEY (`id`), - UNIQUE KEY `access` (`uid`,`cat`,`k`) + UNIQUE KEY `access` (`uid`,`cat`,`k`), + KEY `pconfig_updated` (`updated`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `photo` ( |