Sha256: 8ea5cf8e1d734a5e0bf44bec197463448519ae8b62ab032d8c673b5d750414be

Contents?: true

Size: 482 Bytes

Versions: 5

Compression:

Stored size: 482 Bytes

Contents

class BoxroomCreateUsers < ActiveRecord::Migration[5.0]
  def self.up
    create_table :boxroom_users do |t|
      t.string  :name
      t.string  :email
      t.string  :hashed_password
      t.string  :password_salt
      t.boolean :is_admin
      t.string  :access_key
      t.string  :remember_token
      t.string  :reset_password_token
      t.datetime :reset_password_token_expires_at
      t.timestamps
    end
  end

  def self.down
    drop_table :boxroom_users
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
boxroom-0.0.5 db/migrate/20100930062939_boxroom_create_users.rb
boxroom-0.0.4 db/migrate/20100930062939_boxroom_create_users.rb
boxroom-0.0.3 db/migrate/20100930062939_boxroom_create_users.rb
boxroom-0.0.2 db/migrate/20100930062939_boxroom_create_users.rb
boxroom-0.0.1 db/migrate/20100930062939_boxroom_create_users.rb