Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: modify user table schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark2000 committed Mar 21, 2024
1 parent be2dac9 commit e0934aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "user" ALTER COLUMN "status" SET DEFAULT 'Disable';
2 changes: 1 addition & 1 deletion backend/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ model User {
updatedAt DateTime @default(now()) @map("updated_at")
lastPasswordChanged DateTime @default(now()) @map("last_password_changed")
lastLogin DateTime @default(now()) @map("last_login")
status AccountStatus @default(Verifying)
status AccountStatus @default(Disable)
profileImageUrl String? @map("profile_image_url") @db.Text
Rosters Roster[]
Expand Down

0 comments on commit e0934aa

Please sign in to comment.