mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:24:04 +00:00
drop and recreate id column separately in autoincrement_ids_are_supported
This commit is contained in:
parent
cdc6e31a52
commit
d210b77f61
1 changed files with 5 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue