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:
Added down function to the webhook_calls migration, which drops the webhook_calls table using the Schema::dropIfExists method.
Testing:
Run php artisan migrate to apply the package's migrations.
Run php artisan migrate:rollback to rollback the migrations.
Confirm that the webhook_calls table is properly removed from the database.
Run php artisan migrate again, and verify that it completes without errors.
Description:
This pull request addresses Issue #185 by adding the missing
down
function to thewebhook_calls
migration. This ensures proper rollback of the migration, preventing conflicts during subsequent migrations.Changes:
down
function to thewebhook_calls
migration, which drops thewebhook_calls
table using theSchema::dropIfExists
method.Testing:
php artisan migrate
to apply the package's migrations.php artisan migrate:rollback
to rollback the migrations.webhook_calls
table is properly removed from the database.php artisan migrate
again, and verify that it completes without errors.