forgeplus/db/migrate/20201019082617_add_platform...

6 lines
140 B
Ruby
Raw Normal View History

2020-10-19 22:59:41 +08:00
class AddPlatformToProjects < ActiveRecord::Migration[5.2]
def change
add_column :projects, :platform, :integer, default: 0
end
end