Skip to content

Instantly share code, notes, and snippets.

@ryannscy
Created March 7, 2012 23:40
Show Gist options
  • Save ryannscy/1997306 to your computer and use it in GitHub Desktop.
Save ryannscy/1997306 to your computer and use it in GitHub Desktop.
$task = [
{
id => int,
title => text,
date_created => time stamp (TS),
date_modified => TS,
date_ended => TS,
priority_levels => (
id => int,
date_created => TS,
task_id => int,
goal_id => int,
priority => int,
)
status_levels => (
id => int,
date_created => TS,
task_id => int,
goal_id => int,
status => enum ( active, inactive, invalid )
)
$goal => [
{
id => init,
todo => text,
date_created => TS,
date_modified => TS,
date_ended => TS,
task_id => int,
priority_level => (
id => int,
date_created => TS,
task_id => int,
goal_id => int,
priority => int,
)
status_level =(
id => int,
date_created => TS,
task_id => int,
goal_id => int,
status => enum ( active, inactive, invalid )
}
}
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment