for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateExportsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('exports', function (Blueprint $table) {
$table->increments('id');
$table->string('file', 255)->nullable();
$table->string('type', 10);
$table->text('query');
$table->integer('result_rows')->default(0);
$table->integer('row_processed')->default(0);
$table->dateTime('completed_at')->nullable();
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('exports');