schema->hasTable('Shifts')) { return; } $this->schema->table( 'Shifts', function (Blueprint $table) { $table->text('description')->nullable()->after('shifttype_id'); } ); } /** * Reverse the migration */ public function down() { if (!$this->schema->hasTable('Shifts')) { return; } $this->schema->table( 'Shifts', function (Blueprint $table) { $table->dropColumn('description'); } ); } }