Sha256: 193c7f31dceac38f4b11eaf06228be8a03e124fa5b3690e57c8c550d8f12e73a

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

class CreateComposablePwdlessSecrets < ActiveRecord::Migration[7.0]
  def change
    create_table :composable_pwdless_secrets do |t|
      t.string :data_digest, null: false, index: { unique: true }
      t.string :code_digest, null: false

      t.datetime :expires_at, null: false
      t.integer :remaining_attempts, null: false, unsigned: true

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
composable-pwdless-0.0.12 db/migrate/db/migrate/20221211203235_create_composable_pwdless_secrets.rb
composable-pwdless-0.0.11 db/migrate/db/migrate/20221211203235_create_composable_pwdless_secrets.rb
composable-pwdless-0.0.10 db/migrate/db/migrate/20221211203235_create_composable_pwdless_secrets.rb