From 5f4b66201eb9bd01be96a212adfea8fb95334380 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Fri, 10 Feb 2006 05:19:41 +0000 Subject: Allow has_many :through to work with :include [Michael Schoen]. Closes #3611 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/db_definitions/mysql.sql | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activerecord/test/fixtures/db_definitions/mysql.sql') diff --git a/activerecord/test/fixtures/db_definitions/mysql.sql b/activerecord/test/fixtures/db_definitions/mysql.sql index 83479393f4..21c3b0176e 100755 --- a/activerecord/test/fixtures/db_definitions/mysql.sql +++ b/activerecord/test/fixtures/db_definitions/mysql.sql @@ -130,6 +130,12 @@ CREATE TABLE `people` ( `lock_version` INTEGER NOT NULL DEFAULT 0 ) TYPE=InnoDB; +CREATE TABLE `readers` ( + `id` int(11) NOT NULL PRIMARY KEY, + `post_id` INTEGER NOT NULL, + `person_id` INTEGER NOT NULL +) TYPE=InnoDB; + CREATE TABLE `binaries` ( `id` int(11) NOT NULL auto_increment, `data` mediumblob, -- cgit v1.2.3