integer('invoice_type')->nullable(); $table->integer('rise_type')->nullable(); $table->string('call')->nullable(); $table->integer('company_number')->nullable(); $table->string('invoice')->nullable(); }); } } } /** * Reverse the migrations. * * @return void */ public function down() { if (Schema::hasTable('yz_order')) { if (Schema::hasColumn('yz_order', 'invoice')) { Schema::table('yz_order', function (Blueprint $table) { $table->dropColumn('invoice_type'); $table->dropColumn('rise_type'); $table->dropColumn('call'); $table->dropColumn('company_number'); $table->dropColumn('invoice'); }); } } // } }