Might be ok for some events not to have rollups
e.g. if we add events that don't get rolled up
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
class AddRollupReferenceToEvents < ActiveRecord::Migration[8.0]
|
||||
def up
|
||||
# FIXME: add null: false in another migration after data migrations happen
|
||||
add_reference :events, :rollup, foreign_key: true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user