From f4454dd5f730d4eaea7ece74e48d7ff0ef4dfeab Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 19 Jun 2021 12:04:00 +1000 Subject: [PATCH] Zones didnt have a column name, remove it from migration --- database/migrations/2021_06_18_112022_update_zones.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/database/migrations/2021_06_18_112022_update_zones.php b/database/migrations/2021_06_18_112022_update_zones.php index 1aaf759..044e253 100644 --- a/database/migrations/2021_06_18_112022_update_zones.php +++ b/database/migrations/2021_06_18_112022_update_zones.php @@ -16,7 +16,7 @@ class UpdateZones extends Migration DB::statement('ALTER TABLE zones ALTER COLUMN domain_id SET NOT NULL'); Schema::table('zones', function (Blueprint $table) { - $table->dropColumn(['name','description','ipv4','ipv4_mask','ipv6','ipv6_mask','zt_id']); + $table->dropColumn(['description','ipv4','ipv4_mask','ipv6','ipv6_mask','zt_id']); $table->string('ztid')->nullable(); $table->dropUnique(['domain_id']); @@ -39,7 +39,6 @@ class UpdateZones extends Migration $table->dropColumn(['system_id','ztid']); $table->unique('domain_id'); - $table->string('name'); $table->string('description'); $table->ipAddress('ipv4')->nullable(); $table->integer('ipv4_mask')->nullable();