From 8998dabb3d8311cbebdcc2ffd54f71ce84b62f7a Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 9 Mar 2020 16:39:07 -0400 Subject: [PATCH] Drop the unique index from subfleets.type #628 --- ...3_09_141153_remove_subfleet_type_index.php | 27 +++++++++++++++++++ phpunit.xml | 1 + 2 files changed, 28 insertions(+) create mode 100644 app/Database/migrations/2020_03_09_141153_remove_subfleet_type_index.php diff --git a/app/Database/migrations/2020_03_09_141153_remove_subfleet_type_index.php b/app/Database/migrations/2020_03_09_141153_remove_subfleet_type_index.php new file mode 100644 index 00000000..81703bf6 --- /dev/null +++ b/app/Database/migrations/2020_03_09_141153_remove_subfleet_type_index.php @@ -0,0 +1,27 @@ +dropUnique(['type']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + } +} diff --git a/phpunit.xml b/phpunit.xml index 140c7501..31eb4618 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -37,6 +37,7 @@ +