diff --git a/database/migrations/2016_06_15_080045_fix_cache_table_2.php b/database/migrations/2016_06_15_080045_fix_cache_table_2.php new file mode 100644 index 00000000..107b9e93 --- /dev/null +++ b/database/migrations/2016_06_15_080045_fix_cache_table_2.php @@ -0,0 +1,49 @@ +. + */ + +use Illuminate\Database\Schema\Blueprint; +use Illuminate\Database\Migrations\Migration; + +class FixCacheTable2 extends Migration +{ + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + Schema::table('cache', function (Blueprint $table) { + $table->dropIndex('cache_key_index'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('cache', function (Blueprint $table) { + $table->index('key'); + }); + } +}