Subject: | DOC: "Adding Indexes And Functions To Your SQL" in the Cookbook needs fixes |
The "Adding Indexes And Functions To Your SQL" section mentions an out
of date way of determining the database type:
$sqlt_table->schema->translator->producer_type
SQL::Translator returns just "CODE" nowadays. (also, the statement
doesn't compile - the open parenthesis needs to be moved before 'my').
Is there a workaround way to determine the database type in sub
sqlt_deploy_hook { ... } ?