Automatic database generation / migration with perl

Posted by pistacchio on Stack Overflow See other posts from Stack Overflow or by pistacchio
Published on 2010-04-20T21:19:49Z Indexed on 2010/04/20 21:23 UTC
Read the original article Hit count: 261

Filed under:
|
|

Hi,

In Ror or Django or web2py you can "describe" a database (as a set of classes that remaps to tables) and the framework (having being provided with a connection string to the desired database) generates the tables, fields, relations and in the case of RoR and web2py it also keeps it up-to-date (eg, removing a class drops the table, adding a property to the class triggers an "alter table add" etc).

Is there any perl module that does the same? Eg, it takes the YAML / XML / JSON description of a database as input and modifies / generates the database accordingly?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about perl

Related posts about database