feat: storage and token limiting

This commit is contained in:
Vasily Zubarev
2025-04-21 13:50:45 +02:00
parent 62bad46e58
commit 73e83221b8
25 changed files with 232 additions and 65 deletions

View File

@@ -0,0 +1,12 @@
/*
Warnings:
- Made the column `storage_used` on table `users` required. This step will fail if there are existing NULL values in that column.
- Made the column `token_balance` on table `users` required. This step will fail if there are existing NULL values in that column.
- Made the column `storage_limit` on table `users` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "users" ALTER COLUMN "storage_used" SET NOT NULL,
ALTER COLUMN "token_balance" SET NOT NULL,
ALTER COLUMN "storage_limit" SET NOT NULL;