mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
replace manual json headers with laravel response()->json()
better Carbon dependency rename admin.nodes.configuration-token route style fixes
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user