<br><br>On Tuesday, October 7, 2014, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;ve been playing with Liquibase now and it&#39;s awesome!<br>
<br>
That&#39;s what I&#39;d like to use for Keycloak, but I&#39;d also like to use the same as you guys do.</blockquote><div><br></div><div>yes! would be great uf our projects use the same. </div><div><br></div><div>looks like <font><span style="background-color:rgba(255,255,255,0)">Liquibase is the way to go?<span></span></span></font></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
----- Original Message -----<br>
&gt; From: &quot;Matthias Wessendorf&quot; &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;matzew@apache.org&#39;)">matzew@apache.org</a>&gt;<br>
&gt; To: &quot;AeroGear Developer Mailing List&quot; &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;aerogear-dev@lists.jboss.org&#39;)">aerogear-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Tuesday, 7 October, 2014 9:27:45 AM<br>
&gt; Subject: Re: [aerogear-dev] database migration<br>
&gt;<br>
&gt; I have heard about FlywayDB, but from your email liquibase sounds like a good<br>
&gt; idea!<br>
&gt;<br>
&gt; Thanks for sharing, Erik!<br>
&gt;<br>
&gt; On Mon, Oct 6, 2014 at 5:48 PM, Erik Jan de Wit &lt; <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;edewit@redhat.com&#39;)">edewit@redhat.com</a> &gt; wrote:<br>
&gt;<br>
&gt;<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>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;aerogear-dev@lists.jboss.org&#39;)">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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;aerogear-dev@lists.jboss.org&#39;)">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="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;aerogear-dev@lists.jboss.org&#39;)">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><br><br>-- <br>Sent from Gmail Mobile<br>