getPdo(); return true; } catch(\Exception $e){ return false; } }); return $db_connection; } public function up() { Schema::connection('mysql7')->table('customer', function (Blueprint $table) { $table->string('nota_pekerjaan')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('customer', function (Blueprint $table) { $table->dropColumn('nota_pekerjaan'); }); } }