tracks/db/migrate/031_add_default_context_to_project.rb
2019-05-13 18:42:57 +02:00

9 lines
217 B
Ruby

class AddDefaultContextToProject < ActiveRecord::Migration[5.2]
def self.up
add_column :projects, :default_context_id, :integer
end
def self.down
remove_column :projects, :default_context_id
end
end