Sha256: ed5a4e8242556c67b2449f1739586ce1834c48882f909640d93eb051947d04f3

Contents?: true

Size: 418 Bytes

Versions: 4

Compression:

Stored size: 418 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

4 entries across 4 versions & 1 rubygems

Version Path
no_password_auth-0.5.0 db/migrate/20211202211706_create_no_password_sessions.rb
no_password_auth-0.4.1 db/migrate/20211202211706_create_no_password_sessions.rb
no_password_auth-0.4.0 db/migrate/20211202211706_create_no_password_sessions.rb
no_password_auth-0.3.0 db/migrate/20211202211706_create_no_password_sessions.rb