Sha256: 382d6618e3498fc6dedcad87d2f64db500af32c5909c319dd7ce6e36a56dfd79

Contents?: true

Size: 218 Bytes

Versions: 7

Compression:

Stored size: 218 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

7 entries across 5 versions & 2 rubygems

Version Path
clog-0.2.0 test/common/migrate/20100821014956_create_users.rb
clog-0.1.1 test/common/migrate/20100821014956_create_users.rb
clog-0.1.0 test/common/migrate/20100821014956_create_users.rb
auto_hash-0.3.1 test/rails3x_root/db/migrate/20100804020911_create_users.rb
auto_hash-0.3.1 test/rails2x_root/db/migrate/20100803040436_create_users.rb
auto_hash-0.3.0 test/rails2x_root/db/migrate/20100803040436_create_users.rb
auto_hash-0.3.0 test/rails3x_root/db/migrate/20100804020911_create_users.rb