<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
<br>
<div class="moz-cite-prefix">On 07/02/2014 11:57 PM, Timur Amirov
wrote:<br>
</div>
<blockquote cite="mid:etPan.53b4fedc.625558ec.a550@deteam.fritz.box"
type="cite">
<style>body{font-family:Helvetica,Arial;font-size:13px}</style>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks for the
list!</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I’ll have a
look.</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;">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.</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
</div>
<div id="bloop_sign_1404370574073910016" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">-- <br>
Timur Amirov</div>
<div style="font-family:helvetica,arial;font-size:13px">Berlin,
Germany</div>
</div>
<br>
<p style="color:#000;">On 1 Jul 2014 at 21:47:13, Amit Aryeh Levy
(<a moz-do-not-send="true" href="mailto:amit@amitlevy.com">amit@amitlevy.com</a>)
wrote:</p>
<blockquote type="cite" class="clean_bq"><span>
<div bgcolor="#FFFFFF" text="#000000">
<div>
<title></title>
<div class="moz-cite-prefix">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:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://hackage.haskell.org/package/postgresql-orm-0.3.0/docs/Database-PostgreSQL-Migrations.html">
http://hackage.haskell.org/package/postgresql-orm-0.3.0/docs/Database-PostgreSQL-Migrations.html</a><br>
<br>
-Amit<br>
<br>
<br>
On 06/29/2014 06:39 AM, Timur Amirov wrote:<br>
</div>
<blockquote
cite="mid:etPan.53b0172f.643c9869.138bf@deteam-2.fritz.box"
type="cite">
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;
color: rgba(0,0,0,1.0); margin: 0px; line-height:
auto;">
Hello!</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;
color: rgba(0,0,0,1.0); margin: 0px; line-height:
auto;">
<br>
</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;
color: rgba(0,0,0,1.0); margin: 0px; line-height:
auto;">
Looking for tools to use discovered that I miss
something
like Rails database migrations in haskell.</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;
color: rgba(0,0,0,1.0); margin: 0px; line-height:
auto;">
Is there a package for it (describe the whole schema
and/or
particular migrations)?</div>
<br>
<div id="bloop_sign_1404049124043986944"
class="bloop_sign">
<div
style="font-family:helvetica,arial;font-size:13px">
-- <br>
Timur Amirov</div>
<div
style="font-family:helvetica,arial;font-size:13px">Berlin,
Germany</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Haskell-Cafe mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a>
</pre>
</blockquote>
<br>
_______________________________________________
<br>
Haskell-Cafe mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a>
<br>
</div>
</div>
</span></blockquote>
</blockquote>
<br>
</body>
</html>