replace manual json headers with laravel response()->json()
better Carbon dependency rename admin.nodes.configuration-token route style fixes
This commit is contained in:
parent
67bb8fe230
commit
9f2ca17ea4
5 changed files with 8 additions and 11 deletions
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue