1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 09:34:04 +00:00
This commit is contained in:
Samuel Štancl 2019-08-09 19:39:37 +02:00
parent 02e672e79c
commit bee7f34973
4 changed files with 37 additions and 49 deletions

View file

@ -14,8 +14,8 @@ class CreateTenantsTable extends Migration
public function up()
{
Schema::create('tenants', function (Blueprint $table) {
$table->string('uuid', 36);
$table->string('domain', 255);
$table->string('uuid', 36)->primary();
$table->string('domain', 255)->index();
$table->string('data', 1024);
});
}