Source

rails23-10coolfeatures / db / migrate / 20090329000510_create_users.rb

Full commit
class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end