string('key')->primary()->comment('캐시 키'); $table->mediumText('value')->comment('캐시 값'); $table->integer('expiration')->comment('만료 시간'); }); if (DB::getDriverName() == 'mysql') { Schema::table('cache', function (Blueprint $table) { $table->comment('시스템 캐시 데이터'); }); } } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('cache'); } };