// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
}

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

model User {
      id        Int     @id @default(autoincrement())
      publicKey         String
      hasConnectedWeb3 Boolean
      userId        String
      version       Int
      displayName     String
}


model RecordedGame {
      id                Int     @id @default(autoincrement())
      gameId            Int
      frames            String
      seed              Int
      playerIndex       Int
}