crane
crane copied to clipboard
Handle external constraints during table creation
cl-dbi doesn't like multiple concatenated statements, so issue them in
series and wrap them in a transaction in case something fails.
I ran into this defining a table with an index on one of the columns. This fixes it for me.
Let me know what you think!