|
|
@ -88,6 +88,19 @@ model ApiKey { |
|
|
|
@@index([userId]) |
|
|
|
} |
|
|
|
|
|
|
|
model AssetProfileResolution { |
|
|
|
createdAt DateTime @default(now()) |
|
|
|
currency String |
|
|
|
dataSourceOrigin DataSource |
|
|
|
dataSourceTarget DataSource |
|
|
|
id String @id @default(uuid()) |
|
|
|
requestCount Int @default(1) |
|
|
|
symbol String |
|
|
|
updatedAt DateTime @updatedAt |
|
|
|
|
|
|
|
@@unique([dataSourceOrigin, symbol]) |
|
|
|
} |
|
|
|
|
|
|
|
model AuthDevice { |
|
|
|
createdAt DateTime @default(now()) |
|
|
|
credentialId Bytes |
|
|
@ -101,19 +114,6 @@ model AuthDevice { |
|
|
|
@@index([userId]) |
|
|
|
} |
|
|
|
|
|
|
|
model ResolvedAssetProfile { |
|
|
|
createdAt DateTime @default(now()) |
|
|
|
currency String |
|
|
|
dataSourceOrigin DataSource |
|
|
|
dataSourceTarget DataSource |
|
|
|
id String @id @default(uuid()) |
|
|
|
requestCount Int @default(1) |
|
|
|
symbol String |
|
|
|
updatedAt DateTime @updatedAt |
|
|
|
|
|
|
|
@@unique([dataSourceOrigin, symbol]) |
|
|
|
} |
|
|
|
|
|
|
|
model MarketData { |
|
|
|
createdAt DateTime @default(now()) |
|
|
|
dataSource DataSource |
|
|
|