Sha256: c6cf0636a87daf714c37922c31b6a2b5c010c438bd20591ced2c7160fd86a6c8

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :name,              :null => true
      t.string :login,             :null => true
      t.string :crypted_password,  :null => true
      t.string :password_salt,     :null => true
      t.string :persistence_token, :null => true
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reflex-0.0.3 features/support/rails_root/db/migrate/001_create_users.rb
reflex-0.0.2 features/support/rails_root/db/migrate/001_create_users.rb