[Pkg-owncloud-commits] [php-sabredav] 02/31: Making the default synctoken revision 1 consistently.
David Prévot
taffit at moszumanska.debian.org
Wed Aug 27 22:33:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 468a618ea7380bc11f2bdd5bad59ea1561199520
Author: Evert Pot <me at evertpot.com>
Date: Mon Jul 14 18:12:33 2014 -0400
Making the default synctoken revision 1 consistently.
Fixes #480.
---
bin/migrateto20.php | 2 +-
examples/sql/mysql.calendars.sql | 2 +-
examples/sql/pgsql.calendars.sql | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/migrateto20.php b/bin/migrateto20.php
index 9eec665..adb733a 100755
--- a/bin/migrateto20.php
+++ b/bin/migrateto20.php
@@ -108,7 +108,7 @@ foreach(['calendar', 'addressbook'] as $itemType) {
principaluri VARCHAR(100),
displayname VARCHAR(100),
uri VARCHAR(200),
- synctoken INT(11) UNSIGNED NOT NULL DEFAULT '0',
+ synctoken INT(11) UNSIGNED NOT NULL DEFAULT '1',
description TEXT,
calendarorder INT(11) UNSIGNED NOT NULL DEFAULT '0',
calendarcolor VARCHAR(10),
diff --git a/examples/sql/mysql.calendars.sql b/examples/sql/mysql.calendars.sql
index fc758e6..90aef5a 100644
--- a/examples/sql/mysql.calendars.sql
+++ b/examples/sql/mysql.calendars.sql
@@ -17,7 +17,7 @@ CREATE TABLE calendars (
principaluri VARBINARY(100),
displayname VARCHAR(100),
uri VARBINARY(200),
- synctoken INTEGER UNSIGNED NOT NULL DEFAULT '0',
+ synctoken INTEGER UNSIGNED NOT NULL DEFAULT '1',
description TEXT,
calendarorder INT(11) UNSIGNED NOT NULL DEFAULT '0',
calendarcolor VARBINARY(10),
diff --git a/examples/sql/pgsql.calendars.sql b/examples/sql/pgsql.calendars.sql
index eaba7b8..1840dad 100644
--- a/examples/sql/pgsql.calendars.sql
+++ b/examples/sql/pgsql.calendars.sql
@@ -3,7 +3,7 @@ CREATE TABLE calendars (
principaluri VARCHAR(100),
displayname VARCHAR(100),
uri VARCHAR(200),
- synctoken INTEGER NOT NULL DEFAULT 0,
+ synctoken INTEGER NOT NULL DEFAULT 1,
description TEXT,
calendarorder INTEGER NOT NULL DEFAULT 0,
calendarcolor VARCHAR(10),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list