Sysmo DB

Provide a UUID for key artifacts

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.8.1
  • Component/s: None
  • Labels:
    None

Description

Create (individual) migrations to add a UUID field, and apply the mixin acts_as_uniquely_identifiable for key assets

Add a unit test to each to make sure that a UUID is generated when saved if missing, and this it doesn't change for a subsequent save.

Needs a rake task that iterates over all items that use acts_as_uniquely_identifiable and calls 'save' on them to force a UUID if missing. This may be made easier by calling check_uuid, and then seeing if there are any changed attributes. The update timestamp should be suppressed before doing the save.

Key assets are:

People
all Assets & Publications
ISA objects
Projects, Institutions

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    2010-04-27 12:15
    Updated:
    2010-06-17 10:34
    Resolved:
    2010-06-17 10:34

Time Tracking

Estimated:
1d
Original Estimate - 1 day
Remaining:
1d
Remaining Estimate - 1 day
Logged:
Not Specified
Time Spent - Not Specified