44 Commits

Author SHA1 Message Date
Andrew McMillan
ea0eb35d92 An even more aggressive patch for upgrading databases to 1.2.1 2008-04-12 23:30:25 +12:00
Andrew Ruthven
4ed4db3cb6 Catch another couple of missing foreign keys that need cascades. 2008-02-15 15:13:47 +13:00
Andrew Ruthven
c12d2c2639 Change 7.4 database changes to use 8.x style names. Add patch for 8.x. 2008-02-15 15:04:41 +13:00
Andrew Ruthven
4ce605f13a Heh, fix the SQL syntax. 2008-02-15 13:57:04 +13:00
Andrew Ruthven
f37f9da7d0 Add some more cascades for pre 8.0 databases. 2008-02-13 16:07:00 +13:00
Andrew McMillan
66dddaa3e0 Remove the 8.x-ism from this patch so people with 7.4 may have the
joy of upgrading as well.
2008-02-13 13:36:13 +13:00
Andrew McMillan
41db2b7050 Ensure these patches will work in more obscure situations. 2008-01-27 09:51:47 +13:00
Andrew McMillan
b0fe8d336c Put collection_id on both caldav_data and calendar_item. 2008-01-26 21:55:05 +13:00
Andrew McMillan
b361f96122 Starting to implement the tables for the new permissions model. 2008-01-26 00:25:34 +13:00
Andrew McMillan
1f7aa1e25d Some more changes to use a consistent id across collections and
calendar data.
2008-01-26 00:24:49 +13:00
Andrew McMillan
091f6d5b41 An alternative patch 1.1.12 which will work without exact correspondence
between caldav_data & calendar_item
2008-01-23 20:06:23 +13:00
Andrew McMillan
193ada1ef5 Remove that commented code now it's in Git. 2007-12-04 12:19:05 +13:00
Andrew McMillan
bbca4ba75f We'll need to let this settle for a version before we make it the
primary key.  Too many programming changes are needed to accept the
risk of rolling it straight out.
2007-12-04 12:17:59 +13:00
Andrew McMillan
bdb1e60cd1 Note that this is an alternate. 2007-12-04 12:16:52 +13:00
Andrew McMillan
2031ba23a3 Patch to apply a numeric primary key to caldav_data / calendar_item
in order to attempt to resolve performance issues in non-POSIX collation.
2007-11-28 23:08:26 +13:00
Andrew McMillan
5b4071f8e4 Added a version of patch 1.1.11 which works for PostgreSQL 8.x 2007-11-27 18:07:18 +13:00
Andrew Ruthven
568bd47b9b Modify the correct table. 2007-11-03 21:17:43 +13:00
Andrew Ruthven
78465c2be1 Allow easily removing a user using SQL by adding some cascades.
I've tested the patch this time!
2007-11-03 20:25:19 +13:00
Andrew McMillan
04656674f7 Make puck's patches for PUBLIC events actually work. 2007-10-27 00:11:44 +13:00
Andrew Ruthven
e725590612 Rewrite force events to public logic to be PUBLIC only, not general. 2007-10-26 11:35:19 +13:00
Andrew Ruthven
e0746e058e Allow forcing all events in a collection to a specified class. 2007-10-26 11:05:32 +13:00
Andrew Ruthven
bbcd6a82ac Bugger, fix up the DB patches. 2007-10-26 09:50:45 +13:00
Andrew Ruthven
06431170c8 By default calendar items are PUBLIC. 2007-10-26 09:41:18 +13:00
Andrew McMillan
10716cd412 [performance] Add a primary key to the calendar_item table. 2007-05-28 15:54:00 +12:00
Andrew McMillan
4d628b1782 In general tables are named in the singular, so lets be consistent. 2007-05-21 22:14:09 +12:00
Andrew McMillan
3a8d84d3a3 Initial patches for database change to support freebusy tickets. 2007-05-21 19:26:14 +12:00
Andrew McMillan
c89d724058 Add a 'status' column to the calendar_item table which gets the STATUS property. 2007-02-13 11:37:25 +13:00
Andrew McMillan
a972fc8439 Fixed upgrade patch. 2006-12-28 17:01:51 +13:00
Andrew McMillan
11f3455e27 Remove the fromgroup / togroup entirely from relationship types and go for
a much simpler model entirely.
2006-12-27 15:20:23 +13:00
Andrew McMillan
7a1b2a0dd0 The prefix_match field and rt_inverse field are removed from relationship_type
because that model was too complex to be useful.  We also explicitly indicate
whether the relationship source or destination are groups separately.
2006-12-27 14:29:19 +13:00
Andrew McMillan
62d33aef5f Additional data structure for holding properties. 2006-12-21 01:00:14 +13:00
Andrew McMillan
2ac9691c96 Adjust / increase the relationship possibilities. 2006-12-11 14:22:47 +13:00
Andrew McMillan
4415a25335 More evolution of what the 'locks' table will look like. 2006-12-04 10:12:22 +13:00
Andrew McMillan
3195983c01 We need to have both a 'timeout' field and a 'start' field, since the
counter gets reset (potentially).
2006-12-03 23:36:52 +13:00
Andrew McMillan
ba92bbed18 Correct some field types. 2006-12-03 23:14:29 +13:00
Andrew McMillan
23b00adb22 First cut adding DB support for locks. 2006-12-03 23:09:56 +13:00
Andrew McMillan
44e0a1bb5a Ooops. Spell the table name right, wontcha! 2006-11-23 20:46:44 +13:00
Andrew McMillan
85c95607f0 Change the direction of the adminstrative assistant relationship type. 2006-11-23 17:40:50 +13:00
Andrew McMillan
9bea26010c Initial database framework for identifying supported locales. 2006-11-04 12:23:37 +13:00
Andrew McMillan
5d09ff4bb4 Patch to database to correct base data for 'Is a member of group'. 2006-10-29 19:50:23 +13:00
Andrew McMillan
40565975ac The base data is now not in a patch file, and it probably should never have
been really.
2006-10-29 19:48:44 +13:00
Andrew McMillan
130813c1b8 Rename patch file to match DB revision number. 2006-10-29 19:47:55 +13:00
Andrew McMillan
24bc54ed05 Patch to permissions for role_member table. 2006-10-27 12:05:08 +13:00
Andrew McMillan
6f1bf2feed Patch to set permissions on the sequence for relationship_type.rt_id 2009-09-09 21:39:23 +12:00