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/db2.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/db2.sql')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/db2.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/db2.sql b/activerecord/test/fixtures/db_definitions/db2.sql index a24318bf4b..35efa3f6c7 100644 --- a/activerecord/test/fixtures/db_definitions/db2.sql +++ b/activerecord/test/fixtures/db_definitions/db2.sql @@ -154,3 +154,13 @@ CREATE TABLE tasks ( starting timestamp default NULL, ending timestamp default NULL ); + +CREATE TABLE categories ( + id int generated by default as identity (start with +10000), + name varchar(255) NOT NULL +); + +CREATE TABLE categories_posts ( + category_id int NOT NULL, + post_id int NOT NULL +); |