scinote-web/db/migrate/20190304153544_add_demo_flag_to_project.rb
2019-03-04 18:36:32 +01:00

6 lines
182 B
Ruby

# frozen_string_literal: true
class AddDemoFlagToProject < ActiveRecord::Migration[5.1]
def change
add_column :projects, :demo, :boolean, null: false, default: false
end
end