Untitled

mail@pastecode.io avatar
unknown
plain_text
19 days ago
5.4 kB
3
Indexable
Never
generator client {
    provider = "prisma-client-js"
}

datasource db {
    provider = "mongodb"
    url      = env("DATABASE_URL")
}

type ProfileSchemasGameCooldowns {
    lastPlayed Float
    name       String
}

type ProfileSchemasItems {
    amount              Int
    description         String?
    isUsedForFishing    Boolean?
    name                String
    price               Float?
    roleGivenID         String?
    roleRemovedID       String?
    roleRequiredID      String?
    useItemReplyMessage String?
}

model profile_schemas {
    id                    String                        @id @default(auto()) @map("_id") @db.ObjectId
    v                     Int?                          @map("__v")
    discordUsername       String?
    discordAvatar         String?
    stripeSessionId       String?
    stripeCustomerId      String?
    isPremium             Boolean                       @default(false)
    premiumType           String?                       @default("none")
    guildName             String?
    guildAvatar           String?
    bankBalance           Float?                        @default(0)
    cashBalance           Float?                        @default(0)
    currentChickenWinRate Float?                        @default(0)
    gameCooldowns         ProfileSchemasGameCooldowns[]
    guildID               String
    items                 ProfileSchemasItems[]
    userID                String
}

type ServerSchemasRoleCooldowns {
    cooldown Int
    roleID   String
}

type ServerSchemasStore {
    amount              Json
    description         String?
    isUsedForFishing    Boolean?
    name                String
    price               Json
    roleGivenID         String?
    roleRemovedID       String?
    roleRequiredID      String?
    useItemReplyMessage String?
}

type ServerSchemasRoleIncome {
    roleID           String
    amount           Float
    time             String
    type             String
}

model server_schemas {
    id                     String                       @id @default(auto()) @map("_id") @db.ObjectId
    v                      Int?                         @map("__v")
    serverOwnerId          String?
    blackjackCooldown      Int                          @default(5000)
    cockFightCooldown      Int                          @default(5000)
    crimeCooldown          Float?
    crimeFailRate          Float?                       @default(0.5)
    currencyIcon           String                       @default("💰")
    disabledChannels       String[]
    disabledCommands       String[]
    endCockFightWinRate    Float                        @default(0.1)
    failReplyCrime         String[]
    failReplySlut          String[]
    fishCooldown           Int                          @default(5000)
    guildID                String
    isMoneyAuditLogging    Boolean                      @default(false)
    isPremium              Boolean?                     @default(false)
    maxBetBlackjackAmount  Float?                       @default(100)
    maxBetRouletteAmount   Float?                       @default(100)
    maxCockFightAmount     Float?                       @default(100)
    maxCrapsAmount         Int?                         @default(100)
    maxFineAmountCrime     Float?                       @default(100)
    maxFineAmountSlut      Int                          @default(100)
    maxMessageAmount       Float?                       @default(100)
    maxPayoutCrime         Float?                       @default(100)
    maxPayoutSlut          Int                          @default(100)
    maxWorkAmount          Int                          @default(100)
    messageCooldown        Float?                       @default(5000)
    minBetBlackjackAmount  Int                          @default(1)
    minBetRouletteAmount   Int                          @default(1)
    minCockFightAmount     Int                          @default(1)
    minCrapsAmount         Int?                         @default(1)
    minFineAmountCrime     Int                          @default(1)
    minFineAmountSlut      Int                          @default(1)
    minMessageAmount       Int                          @default(1)
    minPayoutCrime         Float?                       @default(100)
    minPayoutSlut          Float?                       @default(100)
    minWorkAmount          Int                          @default(50)
    moneyAuditLogChannelID String                       @default("")
    robCooldown            Int?                         @default(5000)
    roleCooldowns          ServerSchemasRoleCooldowns[]
    roleForChatBonus       String[]                     @default([])
    roleIncome             ServerSchemasRoleIncome[]
    rouletteCooldown       Int  @default(5000)
    setBankInterestRate    Int? @default(0)
    slutCooldown           Int @default(5000)
    slutFailRate           Float @default(0.5)
    startCockFightWinRate  Float @default(0.1)
    store                  ServerSchemasStore[]
    successReplyCrime      String[] @default([])
    successReplySlut       String[] @default([])
    workCooldown           Int @default(5000)
    workReply              String[] @default([])
}
Leave a Comment