diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-12-11 18:06:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-12-11 18:06:51 +0000 |
commit | 6427db6baa9cfd3dfdbe8c1efd4e99825f751023 (patch) | |
tree | 760de7de653b93930432466ab84eeb5554ceb01a /activerecord/test/fixtures/db_definitions | |
parent | a501aa75cd6657b9faa2aed2137501ec0efa3e8a (diff) | |
download | rails-6427db6baa9cfd3dfdbe8c1efd4e99825f751023.tar.gz rails-6427db6baa9cfd3dfdbe8c1efd4e99825f751023.tar.bz2 rails-6427db6baa9cfd3dfdbe8c1efd4e99825f751023.zip |
Added tests for join models and fixed a bug #3177
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/schema.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/schema.rb b/activerecord/test/fixtures/db_definitions/schema.rb index b839edbac0..1cf4dee7a5 100644 --- a/activerecord/test/fixtures/db_definitions/schema.rb +++ b/activerecord/test/fixtures/db_definitions/schema.rb @@ -10,4 +10,10 @@ ActiveRecord::Schema.define do t.column "name", :string end + create_table "categorizations", :force => true do |t| + t.column "category_id", :integer + t.column "post_id", :integer + t.column "author_id", :integer + end + end
\ No newline at end of file |