From c0c0f2dc151300f7578cf77a059403369edba07d Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 31 Jan 2012 23:54:53 -0800 Subject: add closeness attribute --- update.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index d961f2932..e0591a3b3 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ Date: Wed, 1 Feb 2012 18:50:11 -0800 Subject: add spam flag to item table, DB version not incremented yet, give large sites a heads up to do it manually --- update.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'update.php') diff --git a/update.php b/update.php index e0591a3b3..d0fe1645b 100755 --- a/update.php +++ b/update.php @@ -1016,3 +1016,7 @@ function update_1118() { q("ALTER TABLE `contact` ADD `closeness` TINYINT( 2 ) NOT NULL DEFAULT '99' AFTER `reason` , ADD INDEX (`closensss`) "); q("update contact set closeness = 0 where self = 1"); } + +function update_1119() { +q("ALTER TABLE `item` ADD `spam` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `visible` , ADD INDEX (`spam`) "); +} -- cgit v1.2.3 From b12e598dba54c81a8d91d7fbd5f68922099585e1 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 5 Feb 2012 14:30:24 -0800 Subject: roll update 1118 forward, enable update 1119 --- update.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index d0fe1645b..dc3cc0e56 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ Date: Fri, 10 Feb 2012 13:43:35 -0800 Subject: db installation sync --- update.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index dc3cc0e56..9e3f22ef1 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ Date: Mon, 13 Feb 2012 18:02:43 -0800 Subject: poll structures --- update.php | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 9e3f22ef1..24138450a 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@