IuryNogueira/myreef

View on GitHub
backend_v2/db/migrate/20231017144817_add_oauth_fields_to_users.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
 
class AddOauthFieldsToUsers < ActiveRecord::Migration[7.0]
def change
change_table :users, bulk: true do |t|
t.string :oauth_provider, null: true
t.string :oauth_uid, null: true
end
end
end