Skip to content

Instantly share code, notes, and snippets.

@develop7
Created November 4, 2009 16:26
Show Gist options
  • Save develop7/226169 to your computer and use it in GitHub Desktop.
Save develop7/226169 to your computer and use it in GitHub Desktop.
Post:
actAs:
Timestampable: ~
columns:
content: text
relations:
Comments:
class: Comment
local: id
foreign: post_id
Comment:
actAs:
Timestampable: ~
columns:
post_id: integer
content: text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment