This looks pretty nice, I might try this out instead of using my standby 
Migratus. Thanks for sharing!

On Saturday, September 7, 2013 1:08:40 PM UTC-7, Chris Kuttruff wrote:
>
> Alexandr, 
> Thanks so much for the feedback;  really glad others are finding this 
> useful as well.
>
> I've just published a 0.2.0 version with support for multiple environments 
> (Just use an ENV=test type flag when invoking the plugin command, and have 
> a corresponding :database-test config in your project.clj).  Also added 
> support for rollinback mult. migrations (eg: lein clj-sql-up rollback 3)
>
> I've pushed the new version to clojars and updated the README, etc on 
> github (https://github.com/ckuttruff/clj-sql-up)
>
> Thanks again; please let me know if you have any issues or would like to 
> see other functionality included,
> -Chris
>
>
> On Saturday, September 7, 2013 12:27:21 AM UTC-7, Alexandr Kurilin wrote:
>>
>> This is great, thanks for making it.
>>
>> There was nothing quite like that I could find back when I started on our 
>> web app, so I ended using 
>> standalone_migrations<https://github.com/thuss/standalone-migrations>, 
>> which is essentially ActiveRecord's Migration module extracted for 
>> standalone use. Right now it has the advantage over clj-sql-up of 
>> supporting multiple environments, but it does unfortunately force you to 
>> have ruby support a Gemfile etc, which isn't as awesome as doing everything 
>> through clojure.
>>
>> I'll be following clj-sql-up's progress :)
>>
>> On Saturday, July 20, 2013 6:35:29 PM UTC-7, Plinio Balduino wrote:
>>>
>>> Thank you, Chris
>>>
>>> I think it will be very useful for my next project.
>>>
>>> Regards
>>>
>>> PlĂ­nio
>>>
>>> On Sat, Jul 20, 2013 at 7:19 PM, Chris Kuttruff <kutt...@gmail.com>wrote:
>>>
>>>> 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 clo...@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+u...@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+u...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>  
>>>>  
>>>>
>>>
>>>

-- 
-- 
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