A free open source IT asset/license management system
changes webhook_endpoint var to a text
Godfrey M7560afb8c476
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.phpnew file mode 100644index 0000000000..59c9728e2e--- /dev/null+++ b/database/migrations/2023_08_01_174150_change_webhook_settings_variable_type.php@@ -0,0 +1,33 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++class ChangeWebhookSettingsVariableType extends Migration+{+ /**+ * Run the migrations.+ *+ * @return void+ */+ public function up()+ {+ Schema::table('settings', function (Blueprint $table) {+ $table->text('webhook_endpoint')->change();+ });+ }++ /**+ * Reverse the migrations.+ *+ * @return void+ */+ public function down()+ {+ Schema::table('settings', function (Blueprint $table) {+ $table->varchar('webhook_endpoint')->change();+ });++ }+}