added throttler and crypto quantity

This commit is contained in:
Kevsl
2024-06-07 16:18:29 +02:00
parent 3c42d14f61
commit b7f765f488
7 changed files with 24 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Crypto" ADD COLUMN "quantity" DOUBLE PRECISION NOT NULL DEFAULT 1000;

View File

@@ -14,6 +14,7 @@ model Crypto {
name String @unique
value Float
image String
quantity Float @default(1000)
created_at DateTime @default(now())
updated_at DateTime @updatedAt @default(now())
UserHasCrypto UserHasCrypto[]