From: Justin Hunter Date: Tue, 28 Jun 2011 05:02:28 +0000 (-0400) Subject: add referenced tables X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0510f676b5d5c46a63fd404847f84ab98c68d48c;p=dbsrgits%2FSQL-Translator-2.0-ish.git add referenced tables --- diff --git a/t/02mysql-parser.t b/t/02mysql-parser.t index 36cef3c..79f5835 100644 --- a/t/02mysql-parser.t +++ b/t/02mysql-parser.t @@ -246,6 +246,16 @@ use SQL::Translator::Constants qw(:sqlt_types :sqlt_constants); phone varchar(255), PRIMARY KEY (address_id) ) TYPE=INNODB; + + CREATE TABLE store ( + id int NOT NULL auto_increment, + name varchar(255) NOT NULL + ) TYPE=INNODB; + + CREATE TABLE order_status ( + id int NOT NULL, + status varchar(255) NOT NULL + ) TYPE=INNODB; ] ) or die $tr->error;