#17: Add index to is_cacheable

This commit is contained in:
Kelvin Zhang 2015-11-08 14:03:44 +00:00
parent 41bcdcaf91
commit 90e369e6b8

View file

@ -32,6 +32,7 @@ class UpdateTrackFilesWithCache extends Migration
{
Schema::table('track_files', function (Blueprint $table) {
$table->boolean('is_cacheable')->default(false);
$table->index('is_cacheable');
$table->boolean('is_in_progress')->default(false);
$table->dateTime('expires_at')->nullable();
});