Files
fizzy/db/migrate/20250913150256_add_collection_id_to_webhooks.rb
T
2025-09-16 20:07:25 +02:00

6 lines
159 B
Ruby

class AddCollectionIdToWebhooks < ActiveRecord::Migration[8.1]
def change
add_reference :webhooks, :collection, null: false, foreign_key: true
end
end