diff options
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r-- | activerecord/test/schema/schema.rb | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 274879d4af..92ad25ef76 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -364,19 +364,6 @@ ActiveRecord::Schema.define do t.integer :follower_id end - create_table :games, force: true do |t| - t.integer :game_owner_id - t.integer :game_collection_id - end - - create_table :game_boards, force: true do |t| - t.integer :game_id - end - - create_table :game_collections, force: true - - create_table :game_owners, force: true - create_table :goofy_string_id, force: true, id: false do |t| t.string :id, null: false t.string :info @@ -499,7 +486,8 @@ ActiveRecord::Schema.define do create_table :members, force: true do |t| t.string :name - t.integer :member_type_id + t.references :member_type, index: false + t.references :admittable, polymorphic: true, index: false end create_table :member_details, force: true do |t| |