From b0d185e55979b234e6c5a5417bc45f24e903d12c Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 30 Apr 2017 16:39:44 +0300 Subject: [PATCH] Added shard tables --- ...04_16_101744_add_custom_contact_fields.php | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/database/migrations/2017_04_16_101744_add_custom_contact_fields.php b/database/migrations/2017_04_16_101744_add_custom_contact_fields.php index 62711060ec1d..45ae7b57a595 100644 --- a/database/migrations/2017_04_16_101744_add_custom_contact_fields.php +++ b/database/migrations/2017_04_16_101744_add_custom_contact_fields.php @@ -55,27 +55,6 @@ class AddCustomContactFields extends Migration DB::statement('delete from frequencies where id = 9'); } - /* - Schema::create('projects', function ($table) { - $table->increments('id'); - $table->unsignedInteger('user_id'); - $table->unsignedInteger('account_id')->index(); - $table->unsignedInteger('client_id')->index()->nullable(); - $table->timestamps(); - $table->softDeletes(); - - $table->string('name')->nullable(); - $table->boolean('is_deleted')->default(false); - - $table->foreign('account_id')->references('id')->on('accounts')->onDelete('cascade'); - $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); - $table->foreign('client_id')->references('id')->on('clients')->onDelete('cascade'); - - $table->unsignedInteger('public_id')->index(); - $table->unique(['account_id', 'public_id']); - }); - */ - Schema::create('db_servers', function ($table) { $table->increments('id'); $table->string('name');