diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-02-10 05:19:41 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-02-10 05:19:41 +0000 |
commit | 5f4b66201eb9bd01be96a212adfea8fb95334380 (patch) | |
tree | 619c8ce24e8f143828d5aca229f151c55f459f99 /activerecord/test/fixtures/db_definitions/mysql.sql | |
parent | 7e6d5b51093c6fae345f6460130bbe2c495b95f4 (diff) | |
download | rails-5f4b66201eb9bd01be96a212adfea8fb95334380.tar.gz rails-5f4b66201eb9bd01be96a212adfea8fb95334380.tar.bz2 rails-5f4b66201eb9bd01be96a212adfea8fb95334380.zip |
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
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/mysql.sql')
-rwxr-xr-x | activerecord/test/fixtures/db_definitions/mysql.sql | 6 |
1 files changed, 6 insertions, 0 deletions
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, |