mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-25 16:05:44 -05:00
13 lines
347 B
Ruby
13 lines
347 B
Ruby
# 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
|