docbrown/db/migrate/20200221170905_remove_user_organization_id.rb
rhymes a5588ae430
Enable strong-migrations in all environments (#6279) [deploy]
* Enable strong-migrations in production
* Disable environment checks in initializers
* Remove misleading description
2020-02-24 11:12:49 -05:00

5 lines
157 B
Ruby

class RemoveUserOrganizationId < ActiveRecord::Migration[5.2]
def change
safety_assured { remove_column :users, :organization_id, :integer }
end
end