1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:54:04 +00:00

Remove timestamps

This commit is contained in:
Samuel Štancl 2019-09-29 11:59:17 +02:00
parent dcc9bda758
commit 33f5f0e316
5 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,6 @@ class CreateTenantsTable extends Migration
// (optional) your custom, indexed columns may go here
$table->json('data');
$table->timestamps();
});
}

View file

@ -18,7 +18,6 @@ class CreateDomainsTable extends Migration
Schema::create('domains', function (Blueprint $table) {
$table->string('domain', 255)->primary();
$table->string('tenant_id', 36);
$table->timestamps();
$table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade')->onDelete('cascade');
});