]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - test/sql/agendav-fixtures.sql
Fix the AgenDAV fixures SQL, again.
[mailshears.git] / test / sql / agendav-fixtures.sql
index 49bed6ac6a584cda93fd5ab2d636948b8c09a21d..fe39f6ef014103ecea34a85381cba9f833fdfcd3 100644 (file)
@@ -1,17 +1,17 @@
 /* Add an AgenDAV record for one user only. */
 INSERT INTO prefs (username, options) VALUES ('adam@example.net', 'herp');
-INSERT INTO shares (owner, calendar, with, options, rw)
+INSERT INTO shares (owner, calendar, "with", options, rw)
   VALUES ('/caldav.php/adam%40example.net/',
           '/caldav.php/adam%40example.net/calendar-default',
           '/beth%40example.net/',
          'a:0:{}',
-         0);
+         false);
 
 /* Just kidding, here's another one! */
 INSERT INTO prefs (username, options) VALUES ('booger@example.com', 'herp');
-INSERT INTO shares (owner, calendar, with, options, rw)
+INSERT INTO shares (owner, calendar, "with", options, rw)
   VALUES ('/caldav.php/booger%40example.com/',
-          '/carol%40example.net/',
          '/caldav.php/booger%40example.com/calendar-default',
+          '/carol%40example.net/',
          'a:0:{}',
-         1);
+         true);