diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 17:24:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 17:24:56 +0000 |
commit | 057cf4918bbc3573321f610a12c29676373b8f0c (patch) | |
tree | 3806a6722f884abeb4f1536912acae8d8309a1eb /activerecord/test/fixtures/db_definitions/oci.sql | |
parent | fdd268138a062b45aa126c21ee3d5579f01c3f2e (diff) | |
download | rails-057cf4918bbc3573321f610a12c29676373b8f0c.tar.gz rails-057cf4918bbc3573321f610a12c29676373b8f0c.tar.bz2 rails-057cf4918bbc3573321f610a12c29676373b8f0c.zip |
Added support for has_and_belongs_to_many associations in eager loading #1064 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1132 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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/oci.sql b/activerecord/test/fixtures/db_definitions/oci.sql index bb4726caaa..29e6c76e2a 100644 --- a/activerecord/test/fixtures/db_definitions/oci.sql +++ b/activerecord/test/fixtures/db_definitions/oci.sql @@ -192,3 +192,13 @@ create table tasks ( starting date default null, ending date default null ); + +create table categories ( + id integer not null primary key, + name varchar(255) default null +); + +create table categories_posts ( + category_id integer not null references developers initially deferred disable, + post_id int integer not null references developers initially deferred disable +); |