Sha256: 5c42089f21f9d97d8ab6e8f06b384f03337856614dfcf033ddffc01d898c4d77

Contents?: true

Size: 448 Bytes

Versions: 9

Compression:

Stored size: 448 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :users, force: true do |t|
    t.string :username,  null: false
    t.string :email, null: false
    t.string :password_digest, null: false
    t.string :reset_password_token
    t.datetime :reset_password_token_exp

    t.timestamps
  end

  create_table :sessions, force: true do |t|
    t.string :key,        null: false
    t.datetime :expiration
    t.integer :user_id

    t.timestamps
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
token_authenticate_me-0.4.3 spec/internal/db/schema.rb
token_authenticate_me-0.4.2 spec/internal/db/schema.rb
token_authenticate_me-0.4.1 spec/internal/db/schema.rb
token_authenticate_me-0.4.0 spec/internal/db/schema.rb
token_authenticate_me-0.3.0 spec/internal/db/schema.rb
token_authenticate_me-0.2.3 spec/internal/db/schema.rb
token_authenticate_me-0.2.2 spec/internal/db/schema.rb
token_authenticate_me-0.2.1 spec/internal/db/schema.rb
token_authenticate_me-0.2.0 spec/internal/db/schema.rb