Sha256: a6acd546d2852408e755887aa96d198f00ef59903e85535d55ea1b7e797b8ccc

Contents?: true

Size: 137 Bytes

Versions: 15

Compression:

Stored size: 137 Bytes

Contents

class AddUserTypeIdToUsers < ActiveRecord::Migration[5.0]
  def change
    add_reference :users, :user_type, foreign_key: true
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails-acu-4.1.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-4.0.2 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-4.0.1 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-4.0.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-3.0.8 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-3.0.7 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-3.0.6 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-3.0.3 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-3.0.1 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-3.0.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-2.2.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-2.1.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-2.0.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-1.3.0 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb
rails-acu-1.2.1 spec/dummy/db/migrate/20170329121612_add_user_type_id_to_users.rb