From 6c8ec48ba372e1496228847101eab29c269fb05e Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 3 May 2015 21:13:13 +0900 Subject: Move PostgreSQL specific schema to postgresql_specific_schema.rb --- activerecord/test/schema/schema.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'activerecord/test/schema/schema.rb') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 7b42f8a4a5..66f8f1611d 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -6,20 +6,6 @@ ActiveRecord::Schema.define do end end - #put adapter specific setup here - case adapter_name - when "PostgreSQL" - enable_extension!('uuid-ossp', ActiveRecord::Base.connection) - create_table :uuid_parents, id: :uuid, force: true do |t| - t.string :name - end - create_table :uuid_children, id: :uuid, force: true do |t| - t.string :name - t.uuid :uuid_parent_id - end - end - - # ------------------------------------------------------------------- # # # # Please keep these create table statements in alphabetical order # -- cgit v1.2.3