Skip to content

A free open source IT asset/license management system

Fix rollback for webhook_endpoint by using correct column type

Marcus Mooref5206078d460
diff --git a/database/migrations/2023_08_01_174150_change_webhook_settings_variable_type.php b/database/migrations/2023_08_01_174150_change_webhook_settings_variable_type.php
index 59c9728e2e..ddce33e903 100644
--- a/database/migrations/2023_08_01_174150_change_webhook_settings_variable_type.php
+++ b/database/migrations/2023_08_01_174150_change_webhook_settings_variable_type.php
@@ -26,7 +26,7 @@ class ChangeWebhookSettingsVariableType extends Migration
public function down()
{
Schema::table('settings', function (Blueprint $table) {
- $table->varchar('webhook_endpoint')->change();
+ $table->string('webhook_endpoint')->change();
});
}