Sha256: 4ea8bbd6f800f2c53d260f7cbaf0d630903923ddb09a21ef5ce1fdb0ca675f83

Contents?: true

Size: 262 Bytes

Versions: 6

Compression:

Stored size: 262 Bytes

Contents

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

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
transactionata-0.3.0 test/rails2/db/migrate/20110214150128_create_users.rb
transactionata-0.3.0 test/rails3/db/migrate/20110212120554_create_users.rb
transactionata-0.2.0 test/rails2/db/migrate/20110214150128_create_users.rb
transactionata-0.2.0 test/rails3/db/migrate/20110212120554_create_users.rb
transactionata-0.1.0 test/rails2/db/migrate/20110214150128_create_users.rb
transactionata-0.1.0 test/rails3/db/migrate/20110212120554_create_users.rb