I've made a stab at implementing rails-like database migrations for use with clojure.contrib.sql.
The codes currently very crude, but I'd appreciate any comments on style/utility: http://gist.github.com/315787 Currently the hariest bit is in testing whether or not we need to construct the schemaversion table. It does this via exceptions right now which is very ugly (especially because of nested exceptions etc..), but I couldn't figure out how to get derby to test for the presence of the table. Anyway, I'd appreciate any feedback and criticism. Also I noticed that clojure.contrib.sql doesn't have support for creating views. Is this a deliberate design choice, or just an omission? -- Rick Moynihan http://twitter.com/RickMoynihan http://delicious.com/InkyHarmonics http://sourcesmouth.co.uk/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en