NAME
dbicdeploy - deploy a DBIx::Class schema to a database
SYNOPSIS
dbicdeploy schema DSN
Example
dbicdeploy -Ilib MyApp::Schema DBI:SQLite:root/database
- -I
-
lib
is a directory to add to the search path for the schema. You can have 0 or more of these, just likeperl
. - Schema
-
MyApp::Schema
is the DBIx::Class::Schema subclass that you want to deploy. - DSN
-
DBI:SQLite:root/database
is the DBI DSN that you want to connect to. I use SQLite here, but you can usemysql
,Pg
, or whatever.