Show More
Commit Description:
added announcement to frontpage...
Commit Description:
added announcement to frontpage
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@290 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
db/migrate/035_add_country_to_sites_and_users.rb
| 15 lines
| 363 B
| text/x-ruby
| RubyLexer
|
|
r106 | class AddCountryToSitesAndUsers < ActiveRecord::Migration | ||
def self.up | ||||
add_column 'sites', 'country_id', :integer | ||||
add_column 'sites', 'password', :string | ||||
add_column 'users', 'country_id', :integer | ||||
end | ||||
def self.down | ||||
remove_column 'users', 'country_id' | ||||
remove_column 'sites', 'country_id' | ||||
remove_column 'sites', 'password' | ||||
end | ||||
end | ||||