bug: fix build issues, fix datatypes

This commit is contained in:
2025-12-04 13:05:07 -05:00
parent 54d8c96c7f
commit 4a1b5bfc24
12 changed files with 155 additions and 58 deletions

View File

@@ -17,7 +17,7 @@ model VendorPrice {
sellerName String? @map("seller_name")
usdPrice Decimal @map("usd_price") @db.Decimal(12, 2)
auecAmount BigInt @map("auec_amount")
usdPerMillion Decimal @map("usd_per_million") @db.Decimal(12, 8)
usdPerMillion Decimal @map("usd_per_million") @db.Decimal(13, 9)
deliveryTime String? @map("delivery_time")
url String
@@ -31,7 +31,7 @@ model VendorPrice {
model PriceIndex {
id String @id @default(uuid())
timestamp DateTime @default(now()) @db.Timestamptz(3)
lowestPrice Decimal @map("lowest_price") @db.Decimal(12, 8)
lowestPrice Decimal @map("lowest_price") @db.Decimal(13, 9)
vendor String
sellerName String? @map("seller_name")