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;
use Illuminate\Support\Facades\Schema;
class CreateMyriadOrderStatusTypesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create(config('myriad-data-store.tables.order_status_types'), function (Blueprint $table) {
$table->unsignedBigInteger('id', false)->primary();
$table->string('type')->index();
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists(config('myriad-data-store.tables.order_status_types'));