for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CbCaio\ImgAttacher;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class CreateAttacherImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('attacher_images', function (Blueprint $table)
create()
Illuminate\Support\Facades\Schema
createFreshMockInstance()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
$table->increments('id');
$table->unsignedInteger('owner_id')->index();
$table->string('owner_type')->index();
$table->string('file_extension');
$table->string("file_name")->nullable();
$table->smallInteger("file_size", FALSE, TRUE)->nullable();
$table->string("mime_type")->nullable();
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::drop('attacher_images');
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.