mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
// This is your Prisma schema file,
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
|
|
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
|
|
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
|
|
}
|
|
model dsc_masterlist {
|
|
id String @id @unique
|
|
issuer String?
|
|
hashAlgorithm String?
|
|
signatureAlgorithm String?
|
|
validity Json?
|
|
subjectKeyIdentifier String?
|
|
publicKeyDetails Json?
|
|
rawPem String? @db.Text
|
|
rawTxt String? @db.Text
|
|
|
|
pk_modulus String?
|
|
pk_exponent String?
|
|
pk_bits String?
|
|
pk_curve String?
|
|
pk_hashAlgorithm String?
|
|
pk_mgf String?
|
|
pk_saltLength String?
|
|
|
|
@@index([pk_modulus])
|
|
@@index([pk_bits])
|
|
@@index([pk_curve])
|
|
@@index([hashAlgorithm])
|
|
@@index([signatureAlgorithm])
|
|
@@index([subjectKeyIdentifier])
|
|
}
|
|
model csca_masterlist {
|
|
id String @id @unique
|
|
issuer String?
|
|
hashAlgorithm String?
|
|
signatureAlgorithm String?
|
|
validity Json?
|
|
subjectKeyIdentifier String?
|
|
publicKeyDetails Json?
|
|
rawPem String? @db.Text
|
|
rawTxt String? @db.Text
|
|
|
|
pk_modulus String?
|
|
pk_exponent String?
|
|
pk_bits String?
|
|
pk_curve String?
|
|
pk_hashAlgorithm String?
|
|
pk_mgf String?
|
|
pk_saltLength String?
|
|
|
|
@@index([pk_modulus])
|
|
@@index([pk_bits])
|
|
@@index([pk_curve])
|
|
@@index([hashAlgorithm])
|
|
@@index([signatureAlgorithm])
|
|
@@index([subjectKeyIdentifier])
|
|
} |