Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150814065925_remove_oauth_tokens_from_users.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7eaa7eda311308a117ba8f10ec91977af2dbf3bf (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable all
class RemoveOauthTokensFromUsers < ActiveRecord::Migration
  def change
    remove_column :users, :github_access_token, :string
    remove_column :users, :gitlab_access_token, :string
    remove_column :users, :bitbucket_access_token, :string
    remove_column :users, :bitbucket_access_token_secret, :string
  end
end