1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:54:05 +00:00

drop and recreate id column separately in autoincrement_ids_are_supported

This commit is contained in:
Samuel Štancl 2024-01-27 23:58:38 +01:00
parent cdc6e31a52
commit d210b77f61

View file

@ -68,7 +68,11 @@ class TenantModelTest extends TestCase
{
Schema::drop('domains');
Schema::table('tenants', function (Blueprint $table) {
$table->bigIncrements('id')->change();
$table->dropColumn('id');
});
Schema::table('tenants', function (Blueprint $table) {
$table->bigIncrements('id');
});
unset(app()[UniqueIdentifierGenerator::class]);