Quantcast

environment-specific migrations

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

environment-specific migrations

Lance Johnston
At the following link, which documents the migrations 'bootstrap'
command...

http://www.mybatis.org/migrations/bootstrap.html

... is the following information:

If there are environment specific elements in your bootstrap script,
you’ll learn later that you can use properties to deal with those.

Looking through all of the documentation, I don't see any additional
information regarding the above. Is this indeed possible?

I need to be able to alter migration behavior (e.g. populate  env-
specific data in a table) conditionally based on the environment. Does
mybatis migrations support this? Is so, how?

Thanks,
Lance
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: environment-specific migrations

Lance Johnston
Nobody? Environment-specific migrations not-possible via mibatis?

On Feb 14, 1:09 pm, Lance Johnston <[hidden email]> wrote:

> At the following link, which documents the migrations 'bootstrap'
> command...
>
> http://www.mybatis.org/migrations/bootstrap.html
>
> ... is the following information:
>
> If there areenvironmentspecificelements in your bootstrap script,
> you’ll learn later that you can use properties to deal with those.
>
> Looking through all of the documentation, I don't see any additional
> information regarding the above. Is this indeed possible?
>
> I need to be able to alter migration behavior (e.g. populate  env-specificdata in a table) conditionally based on theenvironment. Does
> mybatis migrations support this? Is so, how?
>
> Thanks,
> Lance
Loading...