243bd0202f
Creates new event when an epic is created, closed, reopened or commented.
9 lines
242 B
Ruby
9 lines
242 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddGroupColumnToEvents < ActiveRecord::Migration[5.2]
|
|
DOWNTIME = false
|
|
|
|
def change
|
|
add_reference :events, :group, index: true, foreign_key: { to_table: :namespaces, on_delete: :cascade }
|
|
end
|
|
end
|