Sha256: 9b1c73d54a46466cdf219ba40232c8089c06383bc231dc4bdce105aeabe1c025
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true class CreateBiometricKeys < ActiveRecord::Migration[7.1] def change create_table :biometric_keys do |t| t.references :keyable, polymorphic: true, null: false t.text :public_key t.string :device_id, null: false t.timestamps end add_index :biometric_keys, %i[keyable_id device_id], unique: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
biometric-0.1.0 | db/migrate/20220101120000_create_biometric_keys.rb |