summaryrefslogtreecommitdiff
path: root/db/post_migrate/20170503120310_remove_users_authorized_projects_populated.rb
blob: 891ce44f60ae74524e5a3cf548d433dd0c5ff8c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class RemoveUsersAuthorizedProjectsPopulated < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  # Set this constant to true if this migration requires downtime.
  DOWNTIME = false

  disable_ddl_transaction!

  def change
    remove_column :users, :authorized_projects_populated, :boolean
  end
end