From fdd268138a062b45aa126c21ee3d5579f01c3f2e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 10 Apr 2005 15:49:49 +0000 Subject: Made eager loading work with inheritance hierarchies #1065 [Ryan Carver] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/db_definitions/mysql.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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 235a1c84d1..17d443bffd 100755 --- a/activerecord/test/fixtures/db_definitions/mysql.sql +++ b/activerecord/test/fixtures/db_definitions/mysql.sql @@ -133,13 +133,15 @@ CREATE TABLE `posts` ( `id` INTEGER NOT NULL PRIMARY KEY, `author_id` INTEGER NOT NULL, `title` VARCHAR(255) NOT NULL, - `body` TEXT NOT NULL + `body` TEXT NOT NULL, + `type` VARCHAR(255) NOT NULL ) TYPE=InnoDB; CREATE TABLE `comments` ( `id` INTEGER NOT NULL PRIMARY KEY, `post_id` INTEGER NOT NULL, - `body` TEXT NOT NULL + `body` TEXT NOT NULL, + `type` VARCHAR(255) NOT NULL ) TYPE=InnoDB; CREATE TABLE `authors` ( -- cgit v1.2.3