repo.or.cz
/
monkeycharger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Upgraded Rails and RSpec
[monkeycharger.git]
/
vendor
/
plugins
/
rspec
/
example_rails_app
/
db
/
migrate
/
001_initial_schema.rb
blob
10d63820ba3b7c538e9c28772481f28e02a583d3
1
class InitialSchema < ActiveRecord::Migration
2
def self.up
3
create_table :people do |t|
4
t.column :name, :string, :default => nil
5
t.column :address, :text
6
end
7
end
8
9
def self.down
10
drop_table :people
11
end
12
end