postgresql-orm is built on top of postgresql-simple and the migrations will work just fine without using any of the ORM layer -- in other words, you can still just use postgresql-simple in your application. The only constraint is a table for tracking the latest applied migration.

On 07/02/2014 11:57 PM, Timur Amirov wrote:
Thanks for the list!

I’ll have a look.

To be honest, I was trying to avoid Persist for now in favour of postgresql-simple when it comes to using db. The only concern was about migration lib.

-- 
Timur Amirov
Berlin, Germany

On 1 Jul 2014 at 21:47:13, Amit Aryeh Levy (amit@amitlevy.com) wrote:

postgresql-orm has a very simple DSL and migration model modeled after active record's db migrations, as well as a utility, `pg_migrate`, for running migrations, rolling back migrations and creating boiler plate code for new migrations:

http://hackage.haskell.org/package/postgresql-orm-0.3.0/docs/Database-PostgreSQL-Migrations.html

-Amit


On 06/29/2014 06:39 AM, Timur Amirov wrote:
Hello!

Looking for tools to use discovered  that I miss something like Rails database migrations in haskell.
Is there a package for it (describe the whole schema and/or particular migrations)?

-- 
Timur Amirov
Berlin, Germany


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe