eudoxia0 / crane

An ORM for Common Lisp.
http://eudoxia.me/crane/
201 stars 19 forks source link

loop over external constraints #52

Open ibawt opened 8 years ago

ibawt commented 8 years ago

the postgres driver will blow up when you try and prepare a statement with two statements in it i.e. if you have an index on a column, it will try to do a

create table foo(id primary key, bar integer) ; create index blah on foo(bar)

I changed this to just loop over the external constraints.

I can write tests or w/e but this lets me keep using this.

cc @eudoxia0