Sha256: 567cba18d409ac4fcd92fa30179fd9e3dc1699f56b7f470240c51c128703c196

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :username
      t.string :email
      t.string :password_hash
      t.string :password_salt
      t.string :access_token
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alondra-0.1.1 test/dummy/db/migrate/20110720193249_create_users.rb
alondra-0.1.0 test/dummy/db/migrate/20110720193249_create_users.rb
alondra-0.0.4 test/dummy/db/migrate/20110720193249_create_users.rb
alondra-0.0.3 test/dummy/db/migrate/20110720193249_create_users.rb