diff --git a/database/migrations/2022_01_10_182548_add_license_id_index_to_license_seats.php b/database/migrations/2022_01_10_182548_add_license_id_index_to_license_seats.php new file mode 100644 index 0000000000..0eb0dfc463 --- /dev/null +++ b/database/migrations/2022_01_10_182548_add_license_id_index_to_license_seats.php @@ -0,0 +1,32 @@ +index(['license_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('license_seats', function (Blueprint $table) { + $table->dropIndex(['license_id']); + }); + } +}