When starting a project to create a clojure blog with 
ring/compojure/hiccup, I quickly found myself looking for an SQL migration 
library to use.

There are some interesting projects out there, but I found myself wanting 
the following features:

   - A standard up/down migration method setup (so I could execute multiple 
   migrate/rollback statements within a clojure file)
   - The ability to execute arbitrary SQL (including creation of 
   triggers/stored procedures)
   - A generic structure to support as many databases as possible
   - A simple create method (to generate migration files)

I have used other migration setups (eg: rails), and was looking for 
something similar in terms of features and simplicity of usage.

The following leiningen plugin is my attempt to accomplish the 
aforementioned objectives as simply as possible:

https://github.com/ckuttruff/clj-sql-up

I am new to clojure / leiningen, so any suggestions / feedback would be 
much appreciated.  It's still very much a work in progress; I plan to add 
many more tests, clean up some of the repetition/inelegance, and make 
various aspects more generic.

Thanks for your time and consideration; I hope this library can be of use 
to others.

-Chris

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to