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/sqlserver.sql | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'activerecord/test/fixtures/db_definitions/sqlserver.sql') diff --git a/activerecord/test/fixtures/db_definitions/sqlserver.sql b/activerecord/test/fixtures/db_definitions/sqlserver.sql index 81399b7d26..5999bdd1b4 100644 --- a/activerecord/test/fixtures/db_definitions/sqlserver.sql +++ b/activerecord/test/fixtures/db_definitions/sqlserver.sql @@ -118,6 +118,13 @@ CREATE TABLE people ( PRIMARY KEY (id) ); +CREATE TABLE readers ( + id int NOT NULL IDENTITY(1, 1), + post_id int NOT NULL, + person_id int NOT NULL, + primary key (id) +); + CREATE TABLE binaries ( id int NOT NULL IDENTITY(1, 1) PRIMARY KEY, data image NULL -- cgit v1.2.3