Corrected a boolean column to a tiny integer.

This commit is contained in:
Peter Deltchev 2016-06-26 23:03:29 -07:00
parent 6e8a9b34c6
commit a4db41c6b1

View file

@ -20,7 +20,7 @@ class CreateTrackFilesTable extends Migration {
$table->string('format')->index(); $table->string('format')->index();
$table->timestamps(); $table->timestamps();
$table->boolean('is_cacheable')->default(0)->index(); $table->boolean('is_cacheable')->default(0)->index();
$table->boolean('status')->default(0); $table->unsignedTinyInteger('status')->default(0);
$table->dateTime('expires_at')->nullable()->index(); $table->dateTime('expires_at')->nullable()->index();
$table->integer('filesize')->unsigned()->nullable(); $table->integer('filesize')->unsigned()->nullable();
}); });