From 9b1de8593f006ca8a021b8bdf3e625b0696c2190 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20H=C3=B6=C3=9Fl?= Date: Sat, 4 Aug 2012 10:48:25 +0200 Subject: [PATCH] Change in database scheme --- dav/database-init.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dav/database-init.inc.php b/dav/database-init.inc.php index 7c0d23a3..527b7671 100644 --- a/dav/database-init.inc.php +++ b/dav/database-init.inc.php @@ -66,7 +66,7 @@ function dav_get_update_statements($from_version) `carddata` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci, `uri` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `lastmodified` timestamp NULL DEFAULT NULL, - `manually_edited` tinyint(4) NOT NULL DEFAULT '0', + `needs_rebuild` tinyint(4) NOT NULL DEFAULT '0', `manually_deleted` tinyint(4) NOT NULL DEFAULT '0', `etag` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `size` int(10) unsigned NOT NULL, @@ -206,7 +206,7 @@ function dav_get_create_statements($except = array()) `carddata` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci, `uri` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `lastmodified` timestamp NULL DEFAULT NULL, - `manually_edited` tinyint(4) NOT NULL DEFAULT '0', + `needs_rebuild` tinyint(4) NOT NULL DEFAULT '0', `manually_deleted` tinyint(4) NOT NULL DEFAULT '0', `etag` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `size` int(10) unsigned NOT NULL, @@ -241,7 +241,7 @@ function dav_create_tables() $errors = array(); global $db; - foreach ($stms as $st) { + foreach ($stms as $st) { // @TODO Friendica-dependent $db->q($st); if ($db->error) $errors[] = $db->error; } @@ -261,7 +261,7 @@ function dav_upgrade_tables() $errors = array(); global $db; - foreach ($stms as $st) { + foreach ($stms as $st) { // @TODO Friendica-dependent $db->q($st); if ($db->error) $errors[] = $db->error; } -- 2.39.5