diff --git a/database/migrations/2024_05_26_163238_cache_unique_key.php b/database/migrations/2024_05_26_163238_cache_unique_key.php new file mode 100644 index 0000000..279320c --- /dev/null +++ b/database/migrations/2024_05_26_163238_cache_unique_key.php @@ -0,0 +1,32 @@ +unique('key'); + } + ); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table( + 'cache', function (Blueprint $table) { + $table->dropUnique('cache_key_unique'); + } + ); + } +};