Log the error output for API

This commit is contained in:
Dane Everitt
2016-10-07 16:10:54 -04:00
parent af68dbed8f
commit c8a73fa608
3 changed files with 11 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ class BuildApiLogTable extends Migration
Schema::create('api_logs', function (Blueprint $table) {
$table->increments('id');
$table->boolean('authorized');
$table->text('error')->nullable();
$table->char('key', 16)->nullable();
$table->char('method', 6);
$table->text('route');