initial import of SQL::Translator constants
Justin Hunter [Wed, 8 Jul 2009 01:45:20 +0000 (18:45 -0700)]
lib/SQL/Translator/Constants.pm [new file with mode: 0644]

diff --git a/lib/SQL/Translator/Constants.pm b/lib/SQL/Translator/Constants.pm
new file mode 100644 (file)
index 0000000..e553816
--- /dev/null
@@ -0,0 +1,20 @@
+package SQL::Translator::Constants;
+use DBI qw(:sql_types);
+use Exporter ();
+
+BEGIN {
+    @ISA = qw(Exporter);
+
+    @EXPORT    = ();
+    @EXPORT_OK = ();
+    %EXPORT_TAGS = (
+        sqlt_types => [
+            qw(),
+            @{$DBI::EXPORT_TAGS{sql_types}}
+        ]
+    );
+
+    Exporter::export_ok_tags(keys %EXPORT_TAGS);
+}
+
+1;