MAde uuid column unique

ref #112
This commit is contained in:
Nicolai Ort 2021-01-21 17:52:03 +01:00
parent ad446500f9
commit 7b00b19fce
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export class RunnerOrganisation extends RunnerGroup {
* The api key can be used for the /runners/register/:token endpoint.
* Is has to be base64 encoded if used via the api (to keep url-safety).
*/
@Column({ nullable: true })
@Column({ nullable: true, unique: true })
@IsString()
@IsOptional()
key?: string;