debian-mirror-gitlab/db/migrate/20150814065925_remove_oauth_tokens_from_users.rb
2019-02-13 22:33:31 +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