Set serverlessFunctionLayerId not nullable (#15272)

As title

Existing Null serverlessFunctionLayerIds have been filled with
`upgrade:1-8:fill-null-serverless-function-layer-id` command

See 0 such records in production

<img width="651" height="415" alt="image"
src="https://github.com/user-attachments/assets/9a5868fe-aa8e-4de0-b656-2e732560fd47"
/>
This commit is contained in:
martmull
2025-10-23 09:58:52 +02:00
committed by GitHub
parent 4b846a42a2
commit c395fed26a
2 changed files with 32 additions and 2 deletions
@@ -68,8 +68,7 @@ export class ServerlessFunctionEntity
@Column({ nullable: true, type: 'text' })
checksum: string | null;
// TODO: should be set to nullable: false when 1.8 released in production
@Column({ nullable: true, type: 'uuid' })
@Column({ nullable: false, type: 'uuid' })
serverlessFunctionLayerId: string;
@ManyToOne(