Clean up option parsing and fix identifier quoting in Producer::MySQL
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Generator / DDL / MySQL.pm
diff --git a/lib/SQL/Translator/Generator/DDL/MySQL.pm b/lib/SQL/Translator/Generator/DDL/MySQL.pm
new file mode 100644 (file)
index 0000000..b4e0b18
--- /dev/null
@@ -0,0 +1,22 @@
+package SQL::Translator::Generator::DDL::MySQL;
+
+=head1 NAME
+
+SQL::Translator::Generator::DDL::MySQL - A Moo based MySQL DDL generation
+engine.
+
+=head1 DESCRIPTION
+
+I<documentation volunteers needed>
+
+=cut
+
+use Moo;
+
+has quote_chars => ( is => 'ro', default => sub { +[qw(` `)] } );
+
+with 'SQL::Translator::Generator::Role::Quote';
+
+sub name_sep { q(.) }
+
+1;