Welcome to the Monastery | |
PerlMonks |
Rails-like database migrationsby mp (Deacon) |
on Nov 11, 2008 at 20:27 UTC ( [id://722975]=perlquestion: print w/replies, xml ) | Need Help?? |
mp has asked for the wisdom of the Perl Monks concerning the following question:
Are there any perl-based database migration systems similar to what is built into rails?
From what I understand, rails keeps a schema version number in a table in the database, then has a migration script which will determine which upgrade/downgrade scripts need to be run to bring the database from its current state to the desired state. The upgrade/downgrade scripts can be managed under revision control, thus providing a way to revision control the structure of the database. I found the following CPAN modules: DBIx::Migration and DBIx::Migration::Directories, and old discussion OT: Ways of managing changes to a database's structure during a project., and some inquiries ActiveRecord migrations-type implementation in perl? and Interface suggestions. Is anyone else doing any active work in this area?
Back to
Seekers of Perl Wisdom
|
|