diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-03 17:50:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-03 17:50:11 +0000 |
commit | f8783abf0cd409d53e7e104b576d45966252378b (patch) | |
tree | 2f8a0e604a7639e0b7983631208a7e7360928be0 /activerecord/test/fixtures/db_definitions | |
parent | 46f2b03eacf5dd39c9283697d7d05f0ccb5f4a72 (diff) | |
download | rails-f8783abf0cd409d53e7e104b576d45966252378b.tar.gz rails-f8783abf0cd409d53e7e104b576d45966252378b.tar.bz2 rails-f8783abf0cd409d53e7e104b576d45966252378b.zip |
Made eager loading work even more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/sqlite.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/sqlite.sql b/activerecord/test/fixtures/db_definitions/sqlite.sql index a6f2efcbfe..db31835807 100644 --- a/activerecord/test/fixtures/db_definitions/sqlite.sql +++ b/activerecord/test/fixtures/db_definitions/sqlite.sql @@ -118,6 +118,7 @@ CREATE TABLE 'computers' ( CREATE TABLE 'posts' ( 'id' INTEGER NOT NULL PRIMARY KEY, + 'author_id' INTEGER NOT NULL, 'title' VARCHAR(255) NOT NULL, 'body' TEXT NOT NULL ); @@ -130,7 +131,6 @@ CREATE TABLE 'comments' ( CREATE TABLE 'authors' ( 'id' INTEGER NOT NULL PRIMARY KEY, - 'post_id' INTEGER NOT NULL, 'name' VARCHAR(255) NOT NULL ); |