Open GoogleCodeExporter opened 9 years ago
Features 1 and 2 may be interesting, because are optional and, well used, could
be necessary to manage large and old systems which have hundred of scripts. An
example could be if I were working in a DB release and I want to assume old
releases development are closed.
Feature 3 brake simplicity and lose the unique development flow because could
be bad used. I think this feature is dangerous and not so useful, because if
you need special data you should "inject" this externaly but no in the "schema
system".
Original comment by acorralo...@gmail.com
on 6 Apr 2011 at 10:21
Original comment by nathan.m...@gmail.com
on 12 Sep 2011 at 4:03
I came here today for the purpose of seeing if requested Feature 1 had been
previously requested. I work on a project where we produce about 30 - 50
migrations a release. We have an old database which needs lots of changes and
at the same time we need to modify it to support new features which are
constantly being added. We also don't have organizational buy in for the
migration product and being able to move all scripts into a release folder at
the end of a release will make it much easier for us to keep track of which
migrations are needed in production for our current release.
If this features priority can't be elevated by a single comment on this ticket
then I would offer my free time to work on it myself if granted such
permission. It is something that is really needed and I would hate to have a
custom version of MyBatis which would prevent an upgrade path later.
Original comment by gllo...@gmail.com
on 16 Nov 2011 at 3:39
I have the same opinion with Mr Nicolas Huray for Features 1 and 2 because
these are very useful, because these features allow developers to work with one
BD (if for example we use Oracle) we can’t create instance of oracle BD for
each developers.
Original comment by mabdelouhab@gmail.com
on 29 Dec 2011 at 11:44
One other is to not work with directories name “scripts” hardly coded,
allow modify the name by adding a variable name in “development.properties”
file
\ _drivers
\_ environments
\ development.properties
\_scripts
\_ 1.x
\_ 1.0.1
20101011134102_insert_customer_1.sql
\_ 1.0.2
20101011136753_insert_customer_2.sql
bootstrap.sql
Original comment by mabdelouhab@gmail.com
on 29 Dec 2011 at 11:51
Original comment by eduardo.macarron
on 29 Jan 2012 at 12:56
Since commenting on this I have come to the conclusion that the real problem
here is that a good solution to creating a baseline of a schema is not present.
If there were a good solution to creating a new bootstrap after a release that
included updates to the "schema_version" table then this would be a moot issue
all together. I don't support the idea of subdirs within the scripts directory
any longer. I think this will add bloat to the configuration and will encourage
rot, especially the suggestion by mabdelouhab. I do think that it would be nice
to be able to configure the scripts directory in general. In my current
environment the entire migration would be exported from svn anyway so it would
be ideal to just have the executables in one location and then update the
properties to point to the current location of the exported scripts.
Original comment by gllo...@gmail.com
on 29 Jan 2012 at 1:41
Original comment by chengt
on 15 Aug 2012 at 7:51
glloyd1 please look at the latest code in migration trunk. I added support for
specifying script directories.
I need to look more at this ticket but that should at least solve the case of
custom sets of scripts?
Original comment by chengt
on 16 Aug 2012 at 3:33
Original issue reported on code.google.com by
nicolas....@gmail.com
on 14 Oct 2010 at 4:10Attachments: