(user) create validation in user update data

This commit is contained in:
unknown
2025-06-28 17:44:31 +07:00
parent 89c4fb79a7
commit 01b29e2a78
7 changed files with 1089 additions and 14 deletions

View File

@ -0,0 +1,12 @@
/*
Warnings:
- You are about to drop the column `commentPicture` on the `users` table. All the data in the column will be lost.
- You are about to drop the column `profilePicture` on the `users` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "users" DROP COLUMN "commentPicture",
DROP COLUMN "profilePicture",
ADD COLUMN "avatar" TEXT,
ADD COLUMN "commentBackground" TEXT;