Sha256: 840f1c21fbf86a81864defb452b8a0a66bee74673e06ffabfea53d02f5b33450

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

class CreateOmniauthIdentities < ActiveRecord::Migration[7.1]
  def change
    create_table :omniauth_identities do |t|
      t.string :public_uid, index: { unique: true }

      t.references :user, foreign_key: true, null: false

      t.string :provider, null: false
      t.string :provider_uid, null: false

      t.text :credentials
      t.text :info
      t.text :extra

      t.datetime :expires_at
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiqr-0.1.0.alpha1 db/migrate/20240424103325_create_omniauth_identities.rb