refactor(migration): enhance comments for api_clients table fields

Improved clarity of comments for identifier, secret, and is_active fields.
This commit is contained in:
Jérémy Munsch 2026-08-20 11:46:46 +02:00
parent f9364a8960
commit f3b84c725d
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4

View file

@ -18,9 +18,12 @@ return new class () extends Migration
$table->string('name');
$table->string('slug')->unique();
$table->string('identifier')->unique();
$table->text('secret');
$table->boolean('is_active');
$table->string('identifier')->unique()
->comment('ENCRYPTED, Unique identifier that should not change');
$table->text('secret')
->comment('ENCRYPTED, api secret that can be regenerated');
$table->boolean('is_active')
->comment('Defines if the client can be used in order to gain access to the system');
$table->timestamp('created_at');
$table->timestamp('updated_at');