for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateGamerEventsTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create(
'gamer_events', function (Blueprint $table) {
$table->engine = 'InnoDB';
$table->increments('id')->unsigned();
$table->string('event', 255)->nullable();
$table->integer('user_id')->nullable();
$table->integer('position')->nullable();
$table->integer('value')->nullable();
$table->timestamps();
$table->softDeletes();
}
);
* Reverse the migrations.
public function down()
Schema::drop('gamer_events');