aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/db_definitions/mysql.sql
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-10 15:49:49 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-10 15:49:49 +0000
commitfdd268138a062b45aa126c21ee3d5579f01c3f2e (patch)
tree28c593bd479bb8be02e4b028a8c0e1bc4fe638dd /activerecord/test/fixtures/db_definitions/mysql.sql
parent2119e0699a182575349b1c3a311b182e171e097c (diff)
downloadrails-fdd268138a062b45aa126c21ee3d5579f01c3f2e.tar.gz
rails-fdd268138a062b45aa126c21ee3d5579f01c3f2e.tar.bz2
rails-fdd268138a062b45aa126c21ee3d5579f01c3f2e.zip
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
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/mysql.sql')
-rwxr-xr-xactiverecord/test/fixtures/db_definitions/mysql.sql6
1 files changed, 4 insertions, 2 deletions
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` (