From 5f4b66201eb9bd01be96a212adfea8fb95334380 Mon Sep 17 00:00:00 2001
From: Michael Koziarski <michael@koziarski.com>
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/sqlite.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'activerecord/test/fixtures/db_definitions/sqlite.sql')

diff --git a/activerecord/test/fixtures/db_definitions/sqlite.sql b/activerecord/test/fixtures/db_definitions/sqlite.sql
index b66969a40b..685c2abc8b 100644
--- a/activerecord/test/fixtures/db_definitions/sqlite.sql
+++ b/activerecord/test/fixtures/db_definitions/sqlite.sql
@@ -118,6 +118,12 @@ CREATE TABLE 'people' (
   'lock_version' INTEGER NOT NULL DEFAULT 0
 );
 
+CREATE TABLE 'readers' (
+    'id' INTEGER NOT NULL PRIMARY KEY,
+    'post_id' INTEGER NOT NULL,
+    'person_id' INTEGER NOT NULL
+);
+
 CREATE TABLE 'binaries' (
   'id' INTEGER NOT NULL PRIMARY KEY,
   'data' BLOB DEFAULT NULL
-- 
cgit v1.2.3

