Skip to content

Instantly share code, notes, and snippets.

@garak
Created May 27, 2011 12:49
Show Gist options
  • Save garak/995165 to your computer and use it in GitHub Desktop.
Save garak/995165 to your computer and use it in GitHub Desktop.
classes:
Item:
columns:
id: ~
name: { type: varchar, required: true }
address: { type: varchar, required: true }
city: { type: varchar, required: true }
latitude: { type: decimal, scale: 6, size: 10, required: true }
longitude: { type: decimal, scale: 6, size: 10, required: true }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment