[Catalyst] Best practice for setting up database in a complex project?

Matija Grabnar matija at serverflow.com
Fri Jul 16 18:01:16 GMT 2010


I was wondering what the experienced Catalyst developers use to set up a 
database in a project.
Do you write the database definition mysql/postgresql format, and then 
dump schema to get the Perl classes, or do you write Perl class 
definitions and use something else to output the table creation 
statements for the
database of your choice?

And what do you do when the structure of the database changes (new 
tables, new columns, new indexes or foreign keys) - do you use a DB 
versioning thing, or do you do it by hand? If you do use a DB versioning 
tool,
which do you recommend?



More information about the Catalyst mailing list