aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-05-16 12:05:45 -0600
committerSean Griffin <sean@thoughtbot.com>2014-05-17 13:24:25 -0600
commit8df8334327b3afe2c66458ed7877d2aacfabd515 (patch)
treec403bfeb36e3b5efd929a760d4b2761c661f7d64 /activerecord/test/schema
parent067131524b5b5cb6100aca8bf5b48a3006a93acd (diff)
downloadrails-8df8334327b3afe2c66458ed7877d2aacfabd515.tar.gz
rails-8df8334327b3afe2c66458ed7877d2aacfabd515.tar.bz2
rails-8df8334327b3afe2c66458ed7877d2aacfabd515.zip
Remove dead test code for unsupported adapters
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index a78074d530..d448fccc5b 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -9,14 +9,6 @@ ActiveRecord::Schema.define do
#put adapter specific setup here
case adapter_name
- # For Firebird, set the sequence values 10000 when create_table is called;
- # this prevents primary key collisions between "normally" created records
- # and fixture-based (YAML) records.
- when "Firebird"
- def create_table(*args, &block)
- ActiveRecord::Base.connection.create_table(*args, &block)
- ActiveRecord::Base.connection.execute "SET GENERATOR #{args.first}_seq TO 10000"
- end
when "PostgreSQL"
enable_uuid_ossp!(ActiveRecord::Base.connection)
create_table :uuid_parents, id: :uuid, force: true do |t|