fix: slack and discord url now uses text filed because encryption makes the url very long

This commit is contained in:
peaklabs-dev
2024-12-09 19:44:10 +01:00
parent fdf757c7ae
commit 2639cf7544
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ return new class extends Migration
$table->foreignId('team_id')->constrained()->cascadeOnDelete();
$table->boolean('discord_enabled')->default(false);
$table->string('discord_webhook_url')->nullable();
$table->text('discord_webhook_url')->nullable();
$table->boolean('deployment_success_discord_notifications')->default(false);
$table->boolean('deployment_failure_discord_notifications')->default(true);

View File

@@ -16,7 +16,7 @@ return new class extends Migration
$table->foreignId('team_id')->constrained()->cascadeOnDelete();
$table->boolean('slack_enabled')->default(false);
$table->string('slack_webhook_url')->nullable();
$table->text('slack_webhook_url')->nullable();
$table->boolean('deployment_success_slack_notifications')->default(false);
$table->boolean('deployment_failure_slack_notifications')->default(true);