chore: hint user on how to reduce disk (#33792)

This commit is contained in:
Kevin Grüneberg authored and Joshen Lim committed 2025-03-05 15:39:01 +01:00
1 parent e7284848b1
commit 945535bbab
1 file changed
+1 -1
@@ -51,7 +51,7 @@ export const CreateDiskStorageSchema = (defaultTotalSize: number) => {
if (totalSize < defaultTotalSize) {
ctx.addIssue({
code: z.ZodIssueCode.custom,
message: `Disk size cannot be reduced in size. Must be at least ${formatNumber(defaultTotalSize)} GB.`,
message: `Disk size cannot be reduced in size. Reduce your database size and then head to the Infrastructure settings and go through a Postgres version upgrade to right-size your disk.`,
path: ['totalSize'],
})
}