Sha256: 86db090b1fbc58beb0dbe6c14147da4e10c71842e2c20363c6c743a965b21833

Contents?: true

Size: 219 Bytes

Versions: 13

Compression:

Stored size: 219 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :email
      t.string :password

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.1.0 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.32 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.31 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.30 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.29 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.28 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.26 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.25 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.24 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.23 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.22 spec/dummy/db/migrate/20100930132559_create_users.rb
puffer-0.0.21 spec/dummy/db/migrate/20100930132559_create_users.rb