mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-19 19:21:12 +10:00
chore: commit prototype
This commit is contained in:
@ -157,6 +157,7 @@ model Company {
|
||||
mShortDescription String
|
||||
mDescription String
|
||||
mLogoObjectId String
|
||||
mCoverObjectId String
|
||||
mBannerObjectId String
|
||||
mWebsite String
|
||||
|
||||
|
||||
21
prisma/models/store.prisma
Normal file
21
prisma/models/store.prisma
Normal file
@ -0,0 +1,21 @@
|
||||
model StorePage {
|
||||
url String @id
|
||||
components StoreComponent[]
|
||||
|
||||
acls String[] @default([]) // Empty ACL means just "store:read"
|
||||
}
|
||||
|
||||
enum StoreComponentType {
|
||||
BigCarousel
|
||||
SmallCarousel
|
||||
}
|
||||
|
||||
model StoreComponent {
|
||||
id String @id
|
||||
|
||||
type StoreComponentType
|
||||
configuration Json
|
||||
|
||||
pageUrl String?
|
||||
page StorePage? @relation(fields: [pageUrl], references: [url])
|
||||
}
|
||||
Reference in New Issue
Block a user