diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index ad253fb..5831929 100755 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -26,7 +26,7 @@ class CreateUsersTable extends Migration $table->rememberToken(); $table->timestamps(); $table->string('theme')->nullable(); - $table->unsignedBigInteger('auth_as')->nullable(); + $table->unsignedInteger('auth_as')->nullable(); }); } diff --git a/resources/views/components/finishing.blade.php b/resources/views/components/finishing.blade.php index 2dd2857..79e6aa7 100644 --- a/resources/views/components/finishing.blade.php +++ b/resources/views/components/finishing.blade.php @@ -157,7 +157,7 @@ use App\Models\Page; // Adds new column to the users table if (!Schema::hasColumn('users', 'auth_as')) { Schema::table('users', function (Blueprint $table) { - $table->unsignedBigInteger('auth_as')->nullable(); + $table->unsignedInteger('auth_as')->nullable(); }); }