Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20100124054458_create_user_contest_stats.rb
| 14 lines
| 264 B
| text/x-ruby
| RubyLexer
|
|
r217 | class CreateUserContestStats < ActiveRecord::Migration | ||
def self.up | ||||
create_table :user_contest_stats do |t| | ||||
t.integer :user_id | ||||
t.timestamp :started_at | ||||
t.timestamps | ||||
end | ||||
end | ||||
def self.down | ||||
drop_table :user_contest_stats | ||||
end | ||||
end | ||||