Zones didnt have a column name, remove it from migration

This commit is contained in:
Deon George 2021-06-19 12:04:00 +10:00
parent 0db119ab74
commit f4454dd5f7

View File

@ -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();