complete registration and login
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `token` to the `User` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" ADD COLUMN "token" TEXT NOT NULL DEFAULT '';
|
||||
@@ -11,5 +11,6 @@ model User {
|
||||
id Int @id @default(autoincrement())
|
||||
email String @unique
|
||||
password String
|
||||
token String @default("")
|
||||
first_login Boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user