From 3ec39b3445c13c2b3306fea0c78111508574604d Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Thu, 3 Nov 2022 11:04:10 +0500 Subject: [PATCH] delete custom migrations --- ...st_create_users_with_extra_field_table.php | 34 ------------------- ..._central_users_with_extra_fields_table.php | 31 ----------------- ...reate_tenant_central_users_pivot_table.php | 34 ------------------- ...ource_users_with_no_extra_fields_table.php | 31 ----------------- 4 files changed, 130 deletions(-) delete mode 100644 tests/Etc/synced_resource_migrations/custom/2020_05_11_000001_test_create_users_with_extra_field_table.php delete mode 100644 tests/Etc/synced_resource_migrations/custom/central/2020_06_11_000001_test_create_central_users_with_extra_fields_table.php delete mode 100644 tests/Etc/synced_resource_migrations/custom/central/2020_07_12_000011_test_create_tenant_central_users_pivot_table.php delete mode 100644 tests/Etc/synced_resource_migrations/custom/tenant/2020_05_11_000001_test_create_resource_users_with_no_extra_fields_table.php diff --git a/tests/Etc/synced_resource_migrations/custom/2020_05_11_000001_test_create_users_with_extra_field_table.php b/tests/Etc/synced_resource_migrations/custom/2020_05_11_000001_test_create_users_with_extra_field_table.php deleted file mode 100644 index c0a0ccf2..00000000 --- a/tests/Etc/synced_resource_migrations/custom/2020_05_11_000001_test_create_users_with_extra_field_table.php +++ /dev/null @@ -1,34 +0,0 @@ -increments('id'); - $table->string('global_id')->unique(); - $table->string('name'); - $table->string('email'); - $table->string('password'); - - $table->string('role'); - $table->string('code'); - }); - } - - public function down() - { - Schema::dropIfExists('users'); - } -} diff --git a/tests/Etc/synced_resource_migrations/custom/central/2020_06_11_000001_test_create_central_users_with_extra_fields_table.php b/tests/Etc/synced_resource_migrations/custom/central/2020_06_11_000001_test_create_central_users_with_extra_fields_table.php deleted file mode 100644 index 29947da9..00000000 --- a/tests/Etc/synced_resource_migrations/custom/central/2020_06_11_000001_test_create_central_users_with_extra_fields_table.php +++ /dev/null @@ -1,31 +0,0 @@ -increments('id'); - $table->string('global_id')->unique(); - $table->string('name'); - $table->string('email'); - $table->string('password'); - }); - } - - public function down() - { - Schema::dropIfExists('central_users'); - } -} diff --git a/tests/Etc/synced_resource_migrations/custom/central/2020_07_12_000011_test_create_tenant_central_users_pivot_table.php b/tests/Etc/synced_resource_migrations/custom/central/2020_07_12_000011_test_create_tenant_central_users_pivot_table.php deleted file mode 100644 index cbf5255e..00000000 --- a/tests/Etc/synced_resource_migrations/custom/central/2020_07_12_000011_test_create_tenant_central_users_pivot_table.php +++ /dev/null @@ -1,34 +0,0 @@ -increments('id'); - $table->string('tenant_id'); - $table->string('global_user_id'); - - $table->unique(['tenant_id', 'global_user_id']); - - $table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade')->onDelete('cascade'); - $table->foreign('global_user_id')->references('global_id')->on('central_users')->onUpdate('cascade')->onDelete('cascade'); - }); - } - - public function down() - { - Schema::dropIfExists('tenant_central_users'); - } -} diff --git a/tests/Etc/synced_resource_migrations/custom/tenant/2020_05_11_000001_test_create_resource_users_with_no_extra_fields_table.php b/tests/Etc/synced_resource_migrations/custom/tenant/2020_05_11_000001_test_create_resource_users_with_no_extra_fields_table.php deleted file mode 100644 index 2f045d47..00000000 --- a/tests/Etc/synced_resource_migrations/custom/tenant/2020_05_11_000001_test_create_resource_users_with_no_extra_fields_table.php +++ /dev/null @@ -1,31 +0,0 @@ -increments('id'); - $table->string('global_id')->unique(); - $table->string('name'); - $table->string('email'); - $table->string('password'); - }); - } - - public function down() - { - Schema::dropIfExists('resource_users'); - } -}