for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class PaymentMethodLogTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('order_payment_log', function (Blueprint $table) {
$table->increments('id');
$table->enum('type', array('mollie'))->nullable();
$table->longText('log');
$table->integer('order_id')->unsigned()->nullable();
$table->foreign('order_id')->references('id')->on('order')->onDelete('set null');
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
//