mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-03 04:14:53 +00:00
🛠️ **Migration:** Added hasTable check to meetup_user migration to prevent redundant table creation.
This commit is contained in:
@@ -11,6 +11,10 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
if (Schema::hasTable('meetup_user')) {
|
||||
return;
|
||||
}
|
||||
|
||||
Schema::disableForeignKeyConstraints();
|
||||
|
||||
Schema::create('meetup_user', function (Blueprint $table) {
|
||||
|
||||
Reference in New Issue
Block a user