socialforge/db/migrate/20161208015939_add_column_t...

6 lines
154 B
Ruby
Raw Normal View History

2016-12-12 10:55:19 +08:00
class AddColumnToCourse < ActiveRecord::Migration
def change
add_column :courses, :invite_code_halt, :integer, :limit => 1, :default => 0
end
end