Skip to content

Commit

Permalink
Merge pull request #13392 from Godmartinz/change_webhook_variable_type
Browse files Browse the repository at this point in the history
Fixed `webhook_endpoint` data type from varchar to a text
  • Loading branch information
snipe authored Aug 1, 2023
2 parents ffb605a + 7560afb commit 924f528
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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();
});

}
}

0 comments on commit 924f528

Please sign in to comment.