Fix error handling in GetContainersStatus.php and increase length of stripe_comment field in migrations

This commit is contained in:
Andras Bacsai
2024-05-10 12:10:47 +02:00
parent 64d27156f5
commit 1fb7e97700
3 changed files with 29 additions and 332 deletions

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('subscriptions', function (Blueprint $table) {
$table->longText('stripe_comment')->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('subscriptions', function (Blueprint $table) {
$table->string('stripe_comment')->change();
});
}
};