replace manual json headers with laravel response()->json()

better Carbon dependency
rename admin.nodes.configuration-token route
style fixes
This commit is contained in:
Jakob Schrettenbrunner 2017-01-08 15:21:02 +01:00
parent 67bb8fe230
commit 9f2ca17ea4
5 changed files with 8 additions and 11 deletions

View file

@ -18,8 +18,7 @@ class CreateNodeConfigurationTokensTable extends Migration
$table->char('token', 32);
$table->timestamp('expires_at');
$table->integer('node')->unsigned();
$table->foreign('node')
->references('id')->on('nodes');
$table->foreign('node')->references('id')->on('nodes');
$table->timestamps();
});
}