feat: change profile pictures

I keep forgetting to do things. The edit mii api route has been using
the public folder as an uploads directory... whoops...
This commit is contained in:
trafficlunar 2025-05-09 22:30:26 +01:00
parent c5437ed3e7
commit 5514f2ec39
12 changed files with 257 additions and 19 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "users" ADD COLUMN "imageUpdatedAt" TIMESTAMP(3);

View file

@ -19,6 +19,7 @@ model User {
updatedAt DateTime @updatedAt
usernameUpdatedAt DateTime?
imageUpdatedAt DateTime?
accounts Account[]
sessions Session[]