for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Bedard\Webhooks\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class CreateLogsTable extends Migration
{
public function up()
Schema::create('bedard_webhooks_logs', function($table)
$table->engine = 'InnoDB';
$table->increments('id');
$table->integer('hook_id')->unsigned()->index();
$table->longText('output')->nullable();
$table->text('referrer')->nullable();
$table->integer('status_code')->nullable();
$table->timestamps();
});
}
public function down()
Schema::dropIfExists('bedard_webhooks_logs');