So the short answer is no, DBIC does not support what you want to do. It’s everything or nothing. You can create every table in your schema easily with $schema->deploy. Just not a single table.
It is easy to use straight DBI to create a single table and you have access to DBI through DBIC. The most relevant doc is probably DBIx::Class::Storage::DBI. Look for the part with $schema->storage->dbh_do(...)
There might be some fun shortcuts to getting the table definition and “doing” it through the schema but I don’t know them just now.
In reply to Re: Adding a database table using DBIx::Class
by Your Mother
in thread Adding a database table using DBIx::Class
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |