Skip to content

Commit

Permalink
Added column for task details date
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Su committed Sep 14, 2010
1 parent 87e64b1 commit 16620bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/todoroo/astrid/data/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ public final class Task extends AbstractModel {
public static final StringProperty DETAILS = new StringProperty(
TABLE, "details");

/** Date details were last updated */
public static final LongProperty DETAILS_DATE = new LongProperty(
TABLE, "detailsDate");

// --- for migration purposes from astrid 2 (eventually we may want to
// move these into the metadata table and treat them as plug-ins

Expand Down Expand Up @@ -197,6 +201,7 @@ public static int[] getImportanceColors(Resources r) {
defaultValues.put(FLAGS.name, 0);
defaultValues.put(TIMER_START.name, 0);
defaultValues.put(DETAILS.name, (String)null);
defaultValues.put(DETAILS_DATE.name, 0);
}

@Override
Expand Down

0 comments on commit 16620bc

Please sign in to comment.