Add user membership and admin customer management APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-30 08:57:38 +03:30
co-authored by Cursor
parent 70c889ab4b
commit e88ec69685
5 changed files with 229 additions and 32 deletions
@@ -0,0 +1,5 @@
-- CreateEnum
CREATE TYPE "Membership" AS ENUM ('regular', 'premium');
-- AlterTable
ALTER TABLE "User" ADD COLUMN "membership" "Membership" NOT NULL DEFAULT 'regular';