From 52f5434bab1a85c1d09a309cdf42431815bec73a Mon Sep 17 00:00:00 2001 From: seyedmr Date: Thu, 8 Aug 2024 15:37:15 +0330 Subject: [PATCH] config project --- .../2024_08_07_090621_add_columns_to_users_table.php | 8 ++++---- ...24_08_07_095901_add_restaurant_logo_to_users_table.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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(); }); }