Sha256: 6a9596609ec5cc951854282f5c992342915b507ad6b23a99c6cf8c681e214a46
Contents?: true
Size: 511 Bytes
Versions: 13
Compression:
Stored size: 511 Bytes
Contents
# Used by the webauthn feature create_table :account_webauthn_user_ids<%= primary_key_type %> do |t| t.foreign_key :accounts, column: :id t.string :webauthn_id, null: false end create_table :account_webauthn_keys, primary_key: [:account_id, :webauthn_id] do |t| t.references :account, foreign_key: true<%= primary_key_type(:type) %> t.string :webauthn_id t.string :public_key, null: false t.integer :sign_count, null: false t.datetime :last_use, null: false, default: <%= current_timestamp %> end
Version data entries
13 entries across 13 versions & 1 rubygems