mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
anonymous publishable migrations (#1001)
This commit is contained in:
parent
2a39b0526a
commit
fb2369dc11
3 changed files with 6 additions and 6 deletions
|
|
@ -7,7 +7,7 @@ use Illuminate\Database\Schema\Blueprint;
|
|||
use Illuminate\Support\Facades\Schema;
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
|
||||
class CreateTenantUserImpersonationTokensTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
|
|
@ -37,4 +37,4 @@ class CreateTenantUserImpersonationTokensTable extends Migration
|
|||
{
|
||||
Schema::dropIfExists('tenant_user_impersonation_tokens');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
|
|||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateTenantsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
|
|
@ -34,4 +34,4 @@ class CreateTenantsTable extends Migration
|
|||
{
|
||||
Schema::dropIfExists('tenants');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use Illuminate\Database\Schema\Blueprint;
|
|||
use Illuminate\Support\Facades\Schema;
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
|
||||
class CreateDomainsTable extends Migration
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
|
|
@ -35,4 +35,4 @@ class CreateDomainsTable extends Migration
|
|||
{
|
||||
Schema::dropIfExists('domains');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue