scinote-web/db/migrate/20190304153544_add_demo_flag_to_project.rb

7 lines
182 B
Ruby
Raw Normal View History

2019-03-05 01:36:32 +08:00
# frozen_string_literal: true
class AddDemoFlagToProject < ActiveRecord::Migration[5.1]
def change
add_column :projects, :demo, :boolean, null: false, default: false
end
end