aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-31 04:30:01 -0700
committerfriendica <info@friendica.com>2013-08-31 04:30:01 -0700
commit00622779f3fd68bf9ae4860d776c65c82ae1c0c0 (patch)
treee1c1549016f1271af5269d77e82295702822a8d8 /install/database.sql
parent625dcb911a01983f4767a55567a0374d6045093e (diff)
downloadvolse-hubzilla-00622779f3fd68bf9ae4860d776c65c82ae1c0c0.tar.gz
volse-hubzilla-00622779f3fd68bf9ae4860d776c65c82ae1c0c0.tar.bz2
volse-hubzilla-00622779f3fd68bf9ae4860d776c65c82ae1c0c0.zip
add a guid to directory update table to avoid recursion
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/database.sql b/install/database.sql
index dbffbf59b..2f92167c8 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -882,8 +882,10 @@ CREATE TABLE IF NOT EXISTS `tokens` (
CREATE TABLE IF NOT EXISTS `updates` (
`ud_hash` char(128) NOT NULL,
+ `ud_guid` char(255) NOT NULL DEFAULT '',
`ud_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`ud_hash`),
+ KEY `ud_guid` (`ud_guid`),
KEY `ud_date` (`ud_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;