config project

master
seyedmr 1 year ago
parent 48604158b3
commit 52f5434bab
  1. 8
      database/migrations/2024_08_07_090621_add_columns_to_users_table.php
  2. 2
      database/migrations/2024_08_07_095901_add_restaurant_logo_to_users_table.php

@ -12,10 +12,10 @@ return new class extends Migration
public function up(): void public function up(): void
{ {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
$table->string('username'); $table->string('username')->nullable();
$table->string('restaurant_name'); $table->string('restaurant_name')->nullable();
$table->string('instagram_account'); $table->string('instagram_account')->nullable();
$table->string('template'); $table->string('template')->nullable();
}); });
} }

@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void public function up(): void
{ {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
$table->text('restaurant_logo'); $table->text('restaurant_logo')->nullable();
}); });
} }

Loading…
Cancel
Save