mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:34:04 +00:00
Remove comments
This commit is contained in:
parent
6656ca6570
commit
4672f27fae
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ class CreateDomainsTable extends Migration
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::create('domains', function (Blueprint $table) {
|
Schema::create('domains', function (Blueprint $table) {
|
||||||
$table->string('domain', 255)->primary(); // don't change this
|
$table->string('domain', 255)->primary();
|
||||||
$table->string('tenant_id', 36); // 36 characters is the default uuid length
|
$table->string('tenant_id', 36);
|
||||||
|
|
||||||
$table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade')->onDelete('cascade');
|
$table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade')->onDelete('cascade');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue