[Dbix-class] SQL::Translator::Producer::MySQL - seems to ignore mysql_version parameter

Chris Welch welch.chris at gmail.com
Mon Dec 9 22:22:25 GMT 2019


All

My apologies, I had spent ages racking my brains on this before
resorting to sending the mail, but I just had another go and turns out
I needed to pass it like this:

my $sqlt = SQL::Translator->new({
  add_drop_table => 0,
  parser         => "SQL::Translator::Parser::YAML",
  producer       => "MySQL",
  producer_args => {
    mysql_version  => 8,
  }
});

Sorry for spamming the list.



More information about the DBIx-Class mailing list