Sha256: 71162b64196cbd8fbaeddd8f1c82fb430acdd3f1f3faf3184232635c98dd40f4

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

class CreateNoPasswordSessions < ActiveRecord::Migration[7.0]
  def change
    create_table :no_password_sessions, if_not_exists: true do |t|

      t.timestamp :expires_at
      t.timestamp :claimed_at
      t.string :token, null: false
      t.string :user_agent, null: false
      t.string :remote_addr, null: false
      t.string :return_url
      t.string :email, null: false

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
no_password_auth-0.2.1 db/migrate/20211202211706_create_no_password_sessions.rb