  [1m[36mSQL (0.4ms)[0m  [1mSHOW TABLES[0m
  [1m[35mSQL (28.6ms)[0m  CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
  [1m[36mSQL (0.4ms)[0m  [1mSHOW KEYS FROM `schema_migrations`[0m
  [1m[35mSQL (16.2ms)[0m  CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
  [1m[36mSQL (0.6ms)[0m  [1mSHOW TABLES[0m
  [1m[35mSQL (0.3ms)[0m  SHOW TABLES
  [1m[36mSQL (0.4ms)[0m  [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
Migrating to AddUsersAndCarts (20101128140540)
  [1m[35mSQL (11.0ms)[0m  CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `email` varchar(255)) ENGINE=InnoDB
  [1m[36mSQL (9.2ms)[0m  [1mCREATE TABLE `carts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11)) ENGINE=InnoDB[0m
  [1m[35mSQL (9.0ms)[0m  CREATE TABLE `selections` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `cart_id` int(11), `product_id` int(11)) ENGINE=InnoDB
  [1m[36mSQL (0.4ms)[0m  [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20101128140540')[0m
  [1m[35mSQL (0.5ms)[0m  SHOW TABLES
  [1m[36mSQL (0.2ms)[0m  [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW TABLES
  [1m[36mSQL (0.7ms)[0m  [1mdescribe `carts`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW KEYS FROM `carts`
  [1m[36mSQL (0.6ms)[0m  [1mdescribe `selections`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW KEYS FROM `selections`
  [1m[36mSQL (0.6ms)[0m  [1mdescribe `users`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW KEYS FROM `users`
  [1m[36mSQL (0.3ms)[0m  [1mSHOW TABLES[0m
  [1m[35mSQL (0.3ms)[0m  SELECT DATABASE() as db
  [1m[36mSQL (1.6ms)[0m  [1mdescribe `carts_products`[0m
Mysql2::Error: Table 'myrailsdatabase_development.carts_products' doesn't exist: describe `carts_products`
  [1m[35mSQL (0.3ms)[0m  SELECT DATABASE() as db
  [1m[36mSQL (0.5ms)[0m  [1mSHOW TABLES[0m
  [1m[35mSQL (0.3ms)[0m  SHOW TABLES
  [1m[36mSQL (0.2ms)[0m  [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
Migrating to AddUsersAndCarts (20101128140540)
Migrating to CreateProductReferences (20101128145152)
  [1m[35mSQL (14.3ms)[0m  CREATE TABLE `product_references` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
  [1m[36mSQL (0.4ms)[0m  [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20101128145152')[0m
  [1m[35mSQL (0.5ms)[0m  SHOW TABLES
  [1m[36mSQL (0.2ms)[0m  [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW TABLES
  [1m[36mSQL (0.7ms)[0m  [1mdescribe `carts`[0m
  [1m[35mSQL (0.3ms)[0m  SHOW KEYS FROM `carts`
  [1m[36mSQL (0.8ms)[0m  [1mdescribe `product_references`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW KEYS FROM `product_references`
  [1m[36mSQL (0.5ms)[0m  [1mdescribe `selections`[0m
  [1m[35mSQL (0.2ms)[0m  SHOW KEYS FROM `selections`
  [1m[36mSQL (0.7ms)[0m  [1mdescribe `users`[0m
  [1m[35mSQL (0.3ms)[0m  SHOW KEYS FROM `users`
  [1m[36mSQL (0.4ms)[0m  [1mSHOW TABLES[0m
  [1m[35mSQL (0.2ms)[0m  BEGIN
  [1m[36mSQL (0.4ms)[0m  [1mSHOW TABLES[0m
  [1m[35mSQL (1.3ms)[0m  describe `users`
  [1m[36mAREL (0.4ms)[0m  [1mINSERT INTO `users` (`name`, `email`) VALUES ('Chad', NULL)[0m
  [1m[35mSQL (0.3ms)[0m  COMMIT
  [1m[36mSQL (0.2ms)[0m  [1mBEGIN[0m
  [1m[35mAREL (0.3ms)[0m  INSERT INTO `users` (`name`, `email`) VALUES ('Chad', NULL)
  [1m[36mSQL (1.7ms)[0m  [1mCOMMIT[0m
  [1m[35mSQL (0.2ms)[0m  BEGIN
  [1m[36mSQL (1.4ms)[0m  [1mdescribe `carts`[0m
  [1m[35mAREL (0.7ms)[0m  INSERT INTO `carts` (`user_id`) VALUES (1)
  [1m[36mSQL (0.4ms)[0m  [1mCOMMIT[0m
  [1m[35mCart Load (0.3ms)[0m  SELECT `carts`.* FROM `carts` LIMIT 1
  [1m[36mSelection Load (0.4ms)[0m  [1mSELECT `selections`.* FROM `selections` WHERE (`selections`.cart_id = 1)[0m
  [1m[35mCart Load (0.3ms)[0m  SELECT `carts`.* FROM `carts` LIMIT 1
  [1m[36mSelection Load (0.3ms)[0m  [1mSELECT `selections`.* FROM `selections` WHERE (`selections`.cart_id = 1)[0m
  [1m[35mCart Load (0.3ms)[0m  SELECT `carts`.* FROM `carts` LIMIT 1
  [1m[36mSQL (2.4ms)[0m  [1mdescribe `carts_products`[0m
Mysql2::Error: Table 'myrailsdatabase_development.carts_products' doesn't exist: describe `carts_products`
  [1m[35mProductReference Load (0.6ms)[0m  SELECT `product_references`.* FROM `product_references` INNER JOIN `selections` ON `product_references`.id = `selections`.product_id WHERE ((`selections`.cart_id = 1))
  [1m[36mSQL (0.5ms)[0m  [1mSHOW TABLES[0m
  [1m[35mCart Load (0.3ms)[0m  SELECT `carts`.* FROM `carts` LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mdescribe `carts_products`[0m
Mysql2::Error: Table 'myrailsdatabase_development.carts_products' doesn't exist: describe `carts_products`
  [1m[35mProductReference Load (0.4ms)[0m  SELECT `product_references`.* FROM `product_references` INNER JOIN `selections` ON `product_references`.id = `selections`.product_id WHERE ((`selections`.cart_id = 1))
  [1m[36mCart Load (0.2ms)[0m  [1mSELECT `carts`.* FROM `carts` LIMIT 1[0m
  [1m[35mSQL (1.2ms)[0m  describe `carts_products`
Mysql2::Error: Table 'myrailsdatabase_development.carts_products' doesn't exist: describe `carts_products`
  [1m[36mProductReference Load (0.5ms)[0m  [1mSELECT `product_references`.* FROM `product_references` INNER JOIN `selections` ON `product_references`.id = `selections`.product_id WHERE ((`selections`.cart_id = 1))[0m
