add referenced tables
Justin Hunter [Tue, 28 Jun 2011 05:02:28 +0000 (01:02 -0400)]
t/02mysql-parser.t

index 36cef3c..79f5835 100644 (file)
@@ -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;