Merge commit '6c3bd944f8890e1a349bd06e9585cb5ec25507e6' into glitch-soc/merge-upstream
This commit is contained in:
commit
ddc7df2064
44 files changed
+230
-48
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateCollectionReports < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :collection_reports do |t|
|
||||
t.references :collection, null: false, foreign_key: { on_delete: :cascade }
|
||||
t.references :report, null: false, foreign_key: { on_delete: :cascade }
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user