socialforge/db/migrate/20140529084427_create_cours...

14 lines
313 B
Ruby
Raw Normal View History

2014-05-29 16:47:32 +08:00
class CreateCourseStatuses < ActiveRecord::Migration
def change
create_table :course_statuses do |t|
t.integer :changesets_count
t.integer :watchers_count
t.integer :course_id
t.float :grade ,default:0
t.integer :course_ac_para ,default:0
t.timestamps
end
end
end