for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use PragmaRX\Tracker\Support\Migration;
class CreateTrackerSqlQueryBindingsTable extends Migration
{
/**
* Table related to this migration.
*
* @var string
*/
private $table = 'tracker_sql_query_bindings';
* Run the migrations.
* @return void
public function migrateUp()
$this->builder->create(
$this->table,
function ($table) {
$table->bigIncrements('id');
$table->string('sha1', 40)->index();
$table->text('serialized');
$table->timestamps();
$table->index('created_at');
$table->index('updated_at');
}
);
* Reverse the migrations.
public function migrateDown()
$this->drop($this->table);