mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 22:29:11 +03:00
chore: hint user on how to reduce disk (#33792)
This commit is contained in:
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'],
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user