Made some changes suggested by Michael Slattery to fix table level comments. Also...
[dbsrgits/SQL-Translator.git] / t / 08postgres-to-mysql.t
index fc4a498..775bae8 100644 (file)
@@ -59,7 +59,7 @@ COMMENT ON COLUMN cvterm.cv_id IS
  'The cv/ontology/namespace to which this cvterm belongs';
 COMMENT ON COLUMN cvterm.name IS
  'A concise human-readable name describing the meaning of the cvterm';
-COMMENT ON COLUMN cvterm.definition IS
+COMMENT ON COLUMN cvterm.termdefinition IS
  'A human-readable text definition';
 COMMENT ON COLUMN cvterm.dbxref_id IS
  'A human-readable text definition';
@@ -153,4 +153,4 @@ my $tr = SQL::Translator->new(
     producer => "MySQL"
 );
 
-ok( $tr->translate(\$create), 'Translate PG2My' );
+ok( $tr->translate(\$create), 'Translate PG2My' ) or diag($tr->error);