Created
November 6, 2012 04:06
-
-
Save MichaelDrogalis/4022477 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftable pets | |
{:database db :table :pets :policy :clean-slate} | |
(seed (inherit :id) | |
(randomized :nickname))) | |
(deftable people | |
{:database db :table :people :fk [pets] :policy :clean-slate :n 50} | |
(seed (randomized :name {:fk {:pets :id}}) | |
(randomized :number))) | |
(seed-table people) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment