Closed faytekin closed 3 years ago
Laravel Version: 8.48.1 PHP Version: 8.0.1
Migrations that mix integer() (or bigInteger()) with unsigned() no longer migrate, but throw an error with Postgres error.
integer()
bigInteger()
unsigned()
Schema::create('broken_primary', function (Blueprint $table) { $table->integer('broken_id')->unsigned()->primary(); $table->timestamps(); });
This was fixed with https://github.com/laravel/framework/pull/37826, so no need for this anymore.
Laravel Version: 8.48.1 PHP Version: 8.0.1
Migrations that mix
integer()
(orbigInteger()
) withunsigned()
no longer migrate, but throw an error with Postgres error.