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

anonymous publishable migrations

This commit is contained in:
Abrar Ahmad 2022-11-11 16:56:19 +05:00
parent 2a39b0526a
commit e81370ac91
3 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
use Stancl\Tenancy\Tenancy; use Stancl\Tenancy\Tenancy;
class CreateTenantUserImpersonationTokensTable extends Migration return new class extends Migration
{ {
/** /**
* Run the migrations. * Run the migrations.
@ -37,4 +37,4 @@ class CreateTenantUserImpersonationTokensTable extends Migration
{ {
Schema::dropIfExists('tenant_user_impersonation_tokens'); Schema::dropIfExists('tenant_user_impersonation_tokens');
} }
} };

View file

@ -6,7 +6,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
class CreateTenantsTable extends Migration return new class extends Migration
{ {
/** /**
* Run the migrations. * Run the migrations.
@ -34,4 +34,4 @@ class CreateTenantsTable extends Migration
{ {
Schema::dropIfExists('tenants'); Schema::dropIfExists('tenants');
} }
} };

View file

@ -7,7 +7,7 @@ use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
use Stancl\Tenancy\Tenancy; use Stancl\Tenancy\Tenancy;
class CreateDomainsTable extends Migration return new class extends Migration
{ {
/** /**
* Run the migrations. * Run the migrations.
@ -35,4 +35,4 @@ class CreateDomainsTable extends Migration
{ {
Schema::dropIfExists('domains'); Schema::dropIfExists('domains');
} }
} };