Moved register and login to user folder. Setup basic login, register and JWT
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
-- CreateEnum
|
||||
CREATE TYPE "UserRole" AS ENUM ('PRIVATE', 'BUSINESS');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" ADD COLUMN "role" "UserRole" NOT NULL DEFAULT 'PRIVATE';
|
||||
Reference in New Issue
Block a user