Build user pages
This commit is contained in:
+18
-18
@@ -109,31 +109,31 @@ model Verification {
|
||||
@@map("verification")
|
||||
}
|
||||
|
||||
model Affirmation {
|
||||
id String @id @default(uuid())
|
||||
name String @unique
|
||||
content String @unique
|
||||
model Proclamation {
|
||||
id String @id @default(uuid())
|
||||
name String @unique
|
||||
content String @unique
|
||||
solfeggioFrequencyId Int
|
||||
solfeggioFrequency SolfeggioFrequency @relation(fields: [solfeggioFrequencyId], references: [id])
|
||||
solfeggioFrequency SolfeggioFrequency @relation(fields: [solfeggioFrequencyId], references: [id])
|
||||
categoryId Int
|
||||
category AffirmationCategory @relation(fields: [categoryId], references: [id])
|
||||
price Float @default(0.99)
|
||||
category ProclamationCategory @relation(fields: [categoryId], references: [id])
|
||||
price Float @default(0.99)
|
||||
}
|
||||
|
||||
model SolfeggioFrequency {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
value Float @unique
|
||||
affirmations Affirmation[]
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
value Float @unique
|
||||
proclamations Proclamation[]
|
||||
}
|
||||
|
||||
model AffirmationCategory {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
parentId Int?
|
||||
parent AffirmationCategory? @relation("CategoryHierarchy", fields: [parentId], references: [id])
|
||||
children AffirmationCategory[] @relation("CategoryHierarchy")
|
||||
affirmations Affirmation[]
|
||||
model ProclamationCategory {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
parentId Int?
|
||||
parent ProclamationCategory? @relation("CategoryHierarchy", fields: [parentId], references: [id])
|
||||
children ProclamationCategory[] @relation("CategoryHierarchy")
|
||||
proclamations Proclamation[]
|
||||
}
|
||||
|
||||
model LicenseKey {
|
||||
|
||||
Reference in New Issue
Block a user