Skip to content

Commit

Permalink
add default balance
Browse files Browse the repository at this point in the history
  • Loading branch information
SecurityQQ committed Jun 21, 2024
1 parent e7fb696 commit 1e5c902
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ For access to the full Design & UI Kit, including detailed assets and design fil
```



## Contributing
We welcome contributions! Please read our [Contributing Guidelines](CONTRIBUTING.md) for more details.

Expand Down
2 changes: 2 additions & 0 deletions prisma/migrations/20240621174154_welcome_bonus/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ALTER COLUMN "tokenBalance" SET DEFAULT 1000;
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ model User {
telegramHandle String?
telegramId BigInt @unique
birthdate DateTime?
tokenBalance Float @default(0)
tokenBalance Float @default(1000)
lastPeriodDate DateTime? // TODO: delete it
menstruations Menstruation[]
invitationsSent Invitation[] @relation("Inviter")
Expand Down

0 comments on commit 1e5c902

Please sign in to comment.