Skip to content

Instantly share code, notes, and snippets.

@maxloncar
Last active November 17, 2022 12:30
Show Gist options
  • Save maxloncar/5b9c32c89c819ed088b04dba32d5a204 to your computer and use it in GitHub Desktop.
Save maxloncar/5b9c32c89c819ed088b04dba32d5a204 to your computer and use it in GitHub Desktop.
Add two columns to your users table so that a user can hold an 'uid' and a 'provider'
add_column(:users, :provider, :string, limit: 50, null: false, default:'')
add_column(:users, :uid, :string, limit: 50, null: false, default:'')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment