From: Ken Youens-Clark Date: Thu, 22 Apr 2004 19:56:47 +0000 (+0000) Subject: Updated tests for alternate unique constraint. X-Git-Tag: v0.06~70 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=321cd178a6388ec63848ecdf8fc9cb1796bc2269;p=dbsrgits%2FSQL-Translator.git Updated tests for alternate unique constraint. --- diff --git a/t/15oracle-parser.t b/t/15oracle-parser.t index 786ecd9..4660857 100644 --- a/t/15oracle-parser.t +++ b/t/15oracle-parser.t @@ -49,10 +49,11 @@ my $sql = q[ start_position NUMBER(11,2) NOT NULL, stop_position NUMBER(11,2) NOT NULL, comments long, - UNIQUE ( qtl_accession_id ), FOREIGN KEY ( qtl_trait_id ) REFERENCES qtl_trait ); + CREATE UNIQUE INDEX qtl_accession ON qtl ( qtl_accession_id ); + CREATE TABLE qtl_trait_synonym ( qtl_trait_synonym_id NUMBER(11) NOT NULL