From 44c7958aa6dbc85a39cb109717ba3fc1445520a7 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sun, 12 Nov 2023 19:09:38 +0100 Subject: [PATCH] make fqdn super long --- ..._12_180605_change_fqdn_to_longer_field.php | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 database/migrations/2023_11_12_180605_change_fqdn_to_longer_field.php diff --git a/database/migrations/2023_11_12_180605_change_fqdn_to_longer_field.php b/database/migrations/2023_11_12_180605_change_fqdn_to_longer_field.php new file mode 100644 index 000000000..f10d5207f --- /dev/null +++ b/database/migrations/2023_11_12_180605_change_fqdn_to_longer_field.php @@ -0,0 +1,40 @@ +longText('fqdn')->nullable()->change(); + }); + Schema::table('application_previews', function (Blueprint $table) { + $table->longText('fqdn')->nullable()->change(); + }); + Schema::table('service_applications', function (Blueprint $table) { + $table->longText('fqdn')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('applications', function (Blueprint $table) { + $table->string('fqdn')->nullable()->change(); + }); + Schema::table('application_previews', function (Blueprint $table) { + $table->string('fqdn')->nullable()->change(); + }); + Schema::table('service_applications', function (Blueprint $table) { + $table->string('fqdn')->nullable()->change(); + }); + } +};