jjn1056 / DBIx-Class-Migration

Use DBIC::DeploymentHandler and DBIC::Fixtures together for a sane database versioning workflow
33 stars 41 forks source link

specify mysql_version on cli (dbic-migration) #134

Open M0ses opened 4 years ago

M0ses commented 4 years ago

I try to pass a specific producer_arg (mysql_version) to dbic-migration on the command line like described here:

https://metacpan.org/pod/DBIx::Class::Migration::Script#sql_translator_args

I tried the following:

dbic-migration prepare -S Kanku::Schema --dsn $KANKU_DSN \
  --database SQLite --dir $SHARE_DIR -O \
  --sql_translator_args producer_args="mysql_version=10"

Could you explain me, how this should work or where I find more documentation?