diff --git a/database/migrations/2025_07_17_134226_create_cache_table.php b/database/migrations/2025_07_17_134226_create_cache_table.php new file mode 100644 index 000000000..b9c106be8 --- /dev/null +++ b/database/migrations/2025_07_17_134226_create_cache_table.php @@ -0,0 +1,35 @@ +string('key')->primary(); + $table->mediumText('value'); + $table->integer('expiration'); + }); + + Schema::create('cache_locks', function (Blueprint $table) { + $table->string('key')->primary(); + $table->string('owner'); + $table->integer('expiration'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('cache'); + Schema::dropIfExists('cache_locks'); + } +};