diff --git a/database/migrations/2024_08_07_090621_add_columns_to_users_table.php b/database/migrations/2024_08_07_090621_add_columns_to_users_table.php index eb4fc2d..b093cad 100644 --- a/database/migrations/2024_08_07_090621_add_columns_to_users_table.php +++ b/database/migrations/2024_08_07_090621_add_columns_to_users_table.php @@ -12,10 +12,10 @@ return new class extends Migration public function up(): void { Schema::table('users', function (Blueprint $table) { - $table->string('username'); - $table->string('restaurant_name'); - $table->string('instagram_account'); - $table->string('template'); + $table->string('username')->nullable(); + $table->string('restaurant_name')->nullable(); + $table->string('instagram_account')->nullable(); + $table->string('template')->nullable(); }); } diff --git a/database/migrations/2024_08_07_095901_add_restaurant_logo_to_users_table.php b/database/migrations/2024_08_07_095901_add_restaurant_logo_to_users_table.php index fbf99e7..4f2f965 100644 --- a/database/migrations/2024_08_07_095901_add_restaurant_logo_to_users_table.php +++ b/database/migrations/2024_08_07_095901_add_restaurant_logo_to_users_table.php @@ -12,7 +12,7 @@ return new class extends Migration public function up(): void { Schema::table('users', function (Blueprint $table) { - $table->text('restaurant_logo'); + $table->text('restaurant_logo')->nullable(); }); }