aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema2.rb
diff options
context:
space:
mode:
authorFrederick Cheung <frederick.cheung@gmail.com>2008-04-21 11:00:01 +0100
committerMichael Koziarski <michael@koziarski.com>2008-04-22 13:55:13 +1200
commita4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b (patch)
treeb45689a4b8ab2d55b475986e0d49519906f55c44 /activerecord/test/schema/schema2.rb
parent0a94f16b9532894aeb7aed2aec5082dd3b521414 (diff)
downloadrails-a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b.tar.gz
rails-a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b.tar.bz2
rails-a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b.zip
Use schema.rb for all databases
Move adapter specific schema into their own files Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/test/schema/schema2.rb')
-rw-r--r--activerecord/test/schema/schema2.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/activerecord/test/schema/schema2.rb b/activerecord/test/schema/schema2.rb
index 863237d271..8527f7ba8f 100644
--- a/activerecord/test/schema/schema2.rb
+++ b/activerecord/test/schema/schema2.rb
@@ -1,11 +1,6 @@
ActiveRecord::Schema.define do
- # adapter name is checked because we are under a transition of
- # moving the sql files under activerecord/test/fixtures/db_definitions
- # to this file, schema.rb.
- if adapter_name == "MySQL"
- Course.connection.create_table :courses, :force => true do |t|
- t.column :name, :string, :null => false
- end
+ Course.connection.create_table :courses, :force => true do |t|
+ t.column :name, :string, :null => false
end
end