DBIx::Class::Schema->deploy can do this. You write -- or can automatically generate with DBIx::Class::Schema::Loader's make_schema_at if you have a DB already -- your DBIC schema. Then you can deploy it to (most) any DB by providing a valid/permissive connection.
There are caveats and edge cases because DBs can be customized so much; read the docs thoroughly.
Class::DBI might have similar functionality now, it didn't in the past. I used it a lot for a couple of years but haven't gone back since DBIC matured.
In reply to Re: Database-independent means of creating database?
by Your Mother
in thread Database-independent means of creating database?
by unix_hacker_beard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |