DBIx-Class-Migration icon indicating copy to clipboard operation
DBIx-Class-Migration copied to clipboard

specify mysql_version on cli (dbic-migration)

Open M0ses opened this issue 4 years ago • 0 comments

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?

M0ses avatar May 12 '20 09:05 M0ses