From c3dc376c4c78b11161e82117163cc84804b7eabe Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 10 Feb 2018 15:58:34 -0600 Subject: [PATCH] Fixes #921 --- ...ove_unique_index_on_external_id_column.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2018_02_10_151150_remove_unique_index_on_external_id_column.php diff --git a/database/migrations/2018_02_10_151150_remove_unique_index_on_external_id_column.php b/database/migrations/2018_02_10_151150_remove_unique_index_on_external_id_column.php new file mode 100644 index 000000000..b587cdcb0 --- /dev/null +++ b/database/migrations/2018_02_10_151150_remove_unique_index_on_external_id_column.php @@ -0,0 +1,32 @@ +dropUnique(['external_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->unique(['external_id']); + }); + } +}