mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2026-02-04 01:56:14 +01:00
added throttler and crypto quantity
This commit is contained in:
2
prisma/migrations/20240607141740_/migration.sql
Normal file
2
prisma/migrations/20240607141740_/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Crypto" ADD COLUMN "quantity" DOUBLE PRECISION NOT NULL DEFAULT 1000;
|
||||
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user