From a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Mon, 21 Apr 2008 11:00:01 +0100 Subject: Use schema.rb for all databases Move adapter specific schema into their own files Signed-off-by: Michael Koziarski --- activerecord/test/schema/schema2.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'activerecord/test/schema/schema2.rb') 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 -- cgit v1.2.3