<div dir="ltr">I&#39;ve never played with <span style="font-family:arial,sans-serif;font-size:12.8000001907349px">liquibase</span>. but +1 for start using migrations<br><div><br></div><div>-- Passos</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 6, 2014 at 2:24 PM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We&#39;re looking at this for Keycloak atm as well, and those where the two that stood out at first glance. I haven&#39;t looked in depth or tried them out yet though.<br>
<div><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Erik Jan de Wit&quot; &lt;<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>&gt;<br>
&gt; To: &quot;AeroGear Developer Mailing List&quot; &lt;<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Monday, 6 October, 2014 5:48:53 PM<br>
&gt; Subject: [aerogear-dev] database migration<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Now that we have 2 versions out of the door, when we change stuff we need an<br>
&gt; easy upgrade path. Not only for the API but also for the database. Because<br>
&gt; we support a couple of them having something of a process would help.<br>
&gt;<br>
&gt; I’ve have used liquibase in the past. You write ‘change sets’ in yaml, json<br>
&gt; or if you must in xml, it will create a migration table in the database and<br>
&gt; execute the changes needed to bring it up to date or you can create a sql<br>
&gt; script that will do the same. Cool thing about this approach is that it’s<br>
&gt; independent of the database<br>
&gt;<br>
&gt; <a href="http://www.liquibase.org" target="_blank">http://www.liquibase.org</a><br>
&gt;<br>
&gt; Another tool I’ve heard about, but also promising is Flyway. It’s supports<br>
&gt; writing migrations in sql and java comes with it’s own java api. Basically<br>
&gt; the same idea with regards to this migration table, but here you need to<br>
&gt; specify your own sql scripts. Or you can write migrations in java where<br>
&gt; having special named java class gets executed to update/migrate the data.<br>
&gt;<br>
&gt; <a href="http://flywaydb.org" target="_blank">http://flywaydb.org</a><br>
&gt;<br>
&gt; WDYT?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Erik Jan<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br></div>