diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 15:49:49 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 15:49:49 +0000 |
commit | fdd268138a062b45aa126c21ee3d5579f01c3f2e (patch) | |
tree | 28c593bd479bb8be02e4b028a8c0e1bc4fe638dd /activerecord/test/fixtures/db_definitions/oci.sql | |
parent | 2119e0699a182575349b1c3a311b182e171e097c (diff) | |
download | rails-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/oci.sql')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/oci.sql | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/oci.sql b/activerecord/test/fixtures/db_definitions/oci.sql index b17b1091cb..bb4726caaa 100644 --- a/activerecord/test/fixtures/db_definitions/oci.sql +++ b/activerecord/test/fixtures/db_definitions/oci.sql @@ -167,6 +167,26 @@ create table computers ( developer integer not null references developers initially deferred disable ); +create table posts ( + id integer not null primary key, + author_id integer default null, + title varchar(255) default null, + type varchar(255) default null, + body varchar(3000) default null +); + +create table comments ( + id integer not null primary key, + post_id integer default null, + type varchar(255) default null, + body varchar(3000) default null +); + +create table authors ( + id integer not null primary key, + name varchar(255) default null +); + create table tasks ( id integer not null primary key, starting date default null, |