Personally, I use (disclaimer: my own) DBIx::RunSQL to set up my databases from Perl. This makes it especially convenient for creating throwaway test databases for the regression tests.
As Class::DBI loads most of the information about fields from the database, you'll need to store the field definition somewhere. I find SQL a good Data Definition Language.
In reply to Re: Database-independent means of creating database?
by Corion
in thread Database-independent means of creating database?
by unix_hacker_beard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |