mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
chore: Force license uuids to not be null (#6012)
* chore: Force license uuids to not be null * All unit tests generate uuids for licenses * Update migration files to new numbers * Put migration in transaction
This commit is contained in:
@ -645,7 +645,7 @@ func ConvertTemplateVersion(version database.TemplateVersion) TemplateVersion {
|
||||
func ConvertLicense(license database.License) License {
|
||||
return License{
|
||||
UploadedAt: license.UploadedAt,
|
||||
UUID: license.Uuid.UUID,
|
||||
UUID: license.UUID,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user