spatie / laravel-webhook-client

Receive webhooks in Laravel apps
https://freek.dev/1383-sending-and-receiving-webhooks-in-laravel-apps
MIT License
985 stars 146 forks source link

Fix missing "down" function in webhook_calls migration (Issue #185) #186

Closed bfadamm closed 1 year ago

bfadamm commented 1 year ago

Description:

This pull request addresses Issue #185 by adding the missing down function to the webhook_calls migration. This ensures proper rollback of the migration, preventing conflicts during subsequent migrations.

Changes:

Testing:

  1. Run php artisan migrate to apply the package's migrations.
  2. Run php artisan migrate:rollback to rollback the migrations.
  3. Confirm that the webhook_calls table is properly removed from the database.
  4. Run php artisan migrate again, and verify that it completes without errors.