Skip to content

Commit

Permalink
Add fk example table
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Pomier committed Nov 25, 2014
1 parent 2889f50 commit 3455ed9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/fixtures/fk_example_second_pass.ddl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3455ed9

Please sign in to comment.