aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/db_definitions
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-11-26 22:45:43 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-11-26 22:45:43 +0000
commit8b3f83105ce719642a8f079f72c4f03c97cfc321 (patch)
tree86fd9a3b6e69a25cbddb904ce8d3bb5edb4eca34 /activerecord/test/fixtures/db_definitions
parent1370d1578727bdbfee06ccdf2109e8ca5649a652 (diff)
downloadrails-8b3f83105ce719642a8f079f72c4f03c97cfc321.tar.gz
rails-8b3f83105ce719642a8f079f72c4f03c97cfc321.tar.bz2
rails-8b3f83105ce719642a8f079f72c4f03c97cfc321.zip
Foxy fixtures: allow mixed usage to make migration easier and more attractive. Closes #10004.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r--activerecord/test/fixtures/db_definitions/schema.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/schema.rb b/activerecord/test/fixtures/db_definitions/schema.rb
index 9b6b6987d2..f6bd0efa5d 100644
--- a/activerecord/test/fixtures/db_definitions/schema.rb
+++ b/activerecord/test/fixtures/db_definitions/schema.rb
@@ -335,10 +335,18 @@ ActiveRecord::Schema.define do
t.column :parrot_id, :integer
t.column :treasure_id, :integer
end
-
+
create_table :mateys, :id => false, :force => true do |t|
t.column :pirate_id, :integer
t.column :target_id, :integer
t.column :weight, :integer
end
+
+ create_table :ships, :force => true do |t|
+ t.string :name
+ t.datetime :created_at
+ t.datetime :created_on
+ t.datetime :updated_at
+ t.datetime :updated_on
+ end
end