Wie wir eine einzelne Säulenmigration in Laravel erzeugen
Schema::connection('foo')->create('users', function (Blueprint $table) {
$table->id();
});
Sleepy Sardine
Schema::connection('foo')->create('users', function (Blueprint $table) {
$table->id();
});
if (Schema::hasTable('users')) {
//
}
if (Schema::hasColumn('users', 'email')) {
//
}