dirksm/c5-db-migration

Questions about future changes

Opened this issue · 1 comments

1 Do you plan to support reading of createSql and dropSql from the file?
2 Do you plan to store information about the type of data in the 
script(<timestamp>_<name>.<dbtype>), for instance: 
20100905070432_base.mysql.sql?


Original issue reported on code.google.com by 5269228.CAMOBAP@gmail.com on 5 Sep 2010 at 11:42

For 2nd point please take a look at issue #38. There is a patch which 
implements the first part of your request (script's basename as script id). If 
it's OK for you to use a static DB name encoded in the script's filename (and 
not extracted dynamically from the actual DB connection properties), you may go 
ahead with this patch.

Suggested implementation allows other VersionExtractor's implementations to be 
easily added. However, I know nothing about any plans either would this change 
be accepted upstream.

Original comment by mykola.nickishov on 8 Sep 2010 at 6:54