diff --git a/database/migrations/2022_10_06_011344_add_key_to_products.php b/database/migrations/2022_10_06_011344_add_key_to_products.php new file mode 100644 index 000000000000..cfbce3e2753c --- /dev/null +++ b/database/migrations/2022_10_06_011344_add_key_to_products.php @@ -0,0 +1,32 @@ +index(['product_key', 'company_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('products', function (Blueprint $table) { + // + }); + } +};