Skip to content

Instantly share code, notes, and snippets.

Created January 11, 2010 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/274096 to your computer and use it in GitHub Desktop.
Save anonymous/274096 to your computer and use it in GitHub Desktop.
(sql/with-connection [c (sql/make-connection-info "derby" "/home/mebaran/.gate")] (sql/compile-sql (sql/create-table invoices
[id int
consumer_id int
item_id int
details "varchar(640)"
snapshot_cap "decimal(12, 4)"
started int
executed int
expires int]
:primary-key id
:auto-inc id
:non-nulls [id item_id consumer_id started])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment