diff --git a/database/migrations/2015_10_26_192855_update_track_files_with_cache.php b/database/migrations/2015_10_26_192855_update_track_files_with_cache.php index a67132b4..5e8c1b0d 100644 --- a/database/migrations/2015_10_26_192855_update_track_files_with_cache.php +++ b/database/migrations/2015_10_26_192855_update_track_files_with_cache.php @@ -31,10 +31,9 @@ class UpdateTrackFilesWithCache extends Migration public function up() { Schema::table('track_files', function (Blueprint $table) { - $table->boolean('is_cacheable')->default(false); - $table->index('is_cacheable'); + $table->boolean('is_cacheable')->default(false)->index(); $table->boolean('is_in_progress')->default(false); - $table->dateTime('expires_at')->nullable(); + $table->dateTime('expires_at')->nullable()->index(); }); }