mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-01-31 11:16:42 +01:00
#17: Add index to is_cacheable
This commit is contained in:
parent
41bcdcaf91
commit
90e369e6b8
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class UpdateTrackFilesWithCache extends Migration
|
||||||
{
|
{
|
||||||
Schema::table('track_files', function (Blueprint $table) {
|
Schema::table('track_files', function (Blueprint $table) {
|
||||||
$table->boolean('is_cacheable')->default(false);
|
$table->boolean('is_cacheable')->default(false);
|
||||||
|
$table->index('is_cacheable');
|
||||||
$table->boolean('is_in_progress')->default(false);
|
$table->boolean('is_in_progress')->default(false);
|
||||||
$table->dateTime('expires_at')->nullable();
|
$table->dateTime('expires_at')->nullable();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue