Use the correct method for a VARCHAR column

This commit is contained in:
Jonny Barnes 2017-03-10 10:05:49 +00:00
parent 2c5c6e7753
commit d33c43958a

View file

@ -16,7 +16,7 @@ class CreateMediaEndpointTable extends Migration
Schema::create('media_endpoint', function (Blueprint $table) {
$table->increments('id');
$table->text('token')->nullable();
$table->varchar('path');
$table->string('path');
$table->unsignedInteger('note_id')->nullable();
$table->timestamps();