From 73721600a623bdbbc8d39603916d21471cdc1469 Mon Sep 17 00:00:00 2001 From: Romain Pomier Date: Fri, 24 Oct 2014 12:15:28 +0200 Subject: [PATCH] Add fk example table --- spec/fixtures/fk_example_second_pass.ddl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 spec/fixtures/fk_example_second_pass.ddl diff --git a/spec/fixtures/fk_example_second_pass.ddl b/spec/fixtures/fk_example_second_pass.ddl new file mode 100644 index 00000000..af3e5fbb --- /dev/null +++ b/spec/fixtures/fk_example_second_pass.ddl @@ -0,0 +1,6 @@ +CREATE TABLE `fk_example_second_pass` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_id` int(11) NOT NULL, + PRIMARY KEY (`id`), + CONSTRAINT `fk_example_ibfk_1_lhmn` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8