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(); + }); + } +};