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:
parent
f9364a8960
commit
f3b84c725d
1 changed files with 6 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue