Show More
Commit Description:
update NOTES...
Commit Description:
update NOTES
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@120 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
db/migrate/012_add_email_to_users.rb
| 9 lines
| 167 B
| text/x-ruby
| RubyLexer
|
|
r18 | class AddEmailToUsers < ActiveRecord::Migration | ||
def self.up | ||||
add_column :users, :email, :string | ||||
end | ||||
def self.down | ||||
remove_column :users, :email | ||||
end | ||||
end | ||||