Changes between Version 2 and Version 3 of Ticket #1077
- Timestamp:
- 05/08/11 12:24:53 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1077
- Property State changed from to draft
-
Ticket #1077 – Description
v2 v3 5 5 * Supports certain operations that are impossible now (e.g. deleting all changes to a particular object irrespective of whether other objects were changed in same revisions). 6 6 * Easier support for pending state and similar behaviour 7 * No need to introduce new tables (and hence migrations) when making something revisioned (or not). 7 8 * Almost identical API 8 9 9 Disadvantages: 10 == Possible Disadvantages == 10 11 11 12 * Difficult to query revision history. Currently we have a way of finding out the diffs of particular packages. These diffs *include* changes to objects associated with packages (i.e a resource attached to a package). With the new model the only way to get this information is by looking in the json stored in the change object which is very awkward. 13 * RP: not sure this is true. You can query on object id very easily in the changeset model. Possible complication here is working out what objects are associated to say a package (e.g. have to look up ids of package_tags) but this does not seem more problematic than what you would do in other model to achieve the same ends. 12 14 13 15 * Does not give us anything extra if we simplify our use of vdm currently. (see alternative below) 16 * RP: not quite true. E.g. pending support and API. 14 17 15 18 * A large change to database structure needs to happen.