debian-mirror-gitlab/db/migrate/20150814065925_remove_oauth_tokens_from_users.rb
2019-02-15 15:39:39 +05:30

9 lines
346 B
Ruby

# rubocop:disable all
class RemoveOauthTokensFromUsers < ActiveRecord::Migration[4.2]
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