From a4db41c6b1ca81d90a3e3b14e906d498cae3fdae Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Sun, 26 Jun 2016 23:03:29 -0700 Subject: [PATCH] Corrected a boolean column to a tiny integer. --- .../migrations/2016_06_26_225535_create_track_files_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2016_06_26_225535_create_track_files_table.php b/database/migrations/2016_06_26_225535_create_track_files_table.php index bd97fd12..d5cabd02 100644 --- a/database/migrations/2016_06_26_225535_create_track_files_table.php +++ b/database/migrations/2016_06_26_225535_create_track_files_table.php @@ -20,7 +20,7 @@ class CreateTrackFilesTable extends Migration { $table->string('format')->index(); $table->timestamps(); $table->boolean('is_cacheable')->default(0)->index(); - $table->boolean('status')->default(0); + $table->unsignedTinyInteger('status')->default(0); $table->dateTime('expires_at')->nullable()->index(); $table->integer('filesize')->unsigned()->nullable(); });