Hi Dmitry,

Like Borut, we have many Maven profiles set up to do Flyway migrations
in all of our environments and have set up our DBAs with Maven/etc in
order for them to do our production migrations.  On the Tapestry side,
our AppModule has an @Startup method that does a Flyway validate() to
ensure the schema is up-to-date or it throws an exception and the
application fails to start.  We initially thought about having the
@Startup do the Flyway migrate(), too, but thought that might be a bit
too risky, so we stuck with Maven.

mrg


On Wed, Aug 14, 2013 at 5:54 AM, Dmitry Gusev <dmitry.gu...@gmail.com> wrote:
> Just curious, and how do you deliver your migrations to target
> environments, like production?
>
> On Wed, Aug 14, 2013 at 10:39 AM, Borut Bolčina 
> <borut.bolc...@gmail.com>wrote:
>
>> Hello,
>>
>> no reusable modules at the moment, nor any integration, as we use the
>> flyway as a maven plugin. I do see a potential use, but have no clear
>> vision on how to use the auto-migration in a more complex
>> development/runtime environments. Will have to dedicate some time into it
>> and discover safe and clear paths in development cycles in a small
>> development team.
>>
>> There is a live #Tapestry IRC channel, interesting...
>>
>> Regards,
>> borut
>>
>>
>> 2013/8/14 Dmitry Gusev <dmitry.gu...@gmail.com>
>>
>> > Hi,
>> >
>> > It seems Flyway is popular among tapestry users, we've discussed it
>> > yesterday on the #tapestry IRC channel.
>> >
>> > It seems (the only?) advantage of Flyway against Liquibase is that you
>> can
>> > run custom Java code during migrations.
>> >
>> > Do you have any reusable modules or, maybe, best practices how you use
>> > Flyway with tapestry?
>> >
>> > On Wed, Aug 14, 2013 at 10:09 AM, Borut Bolčina <borut.bolc...@gmail.com
>> > >wrote:
>> >
>> > > Nice Dmitry!
>> > >
>> > > I (we) use Flyway for database migrations, but it is always nice to
>> see a
>> > > new Tapestry module!
>> > >
>> > > Regards,
>> > > borut
>> > >
>> > >
>> > > 2013/8/12 Dmitry Gusev <dmitry.gu...@gmail.com>
>> > >
>> > > > FYI:
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-liquibase
>> > > >
>> > > > --
>> > > > Dmitry Gusev
>> > > >
>> > > > AnjLab Team
>> > > > http://anjlab.com
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> > Dmitry Gusev
>> >
>> > AnjLab Team
>> > http://anjlab.com
>> >
>>
>
>
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to