Skip to content

Commit

Permalink
add standalone mode to next config
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Oct 10, 2023
1 parent c6452de commit aebfbef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import('./env.mjs');

/** @type {import("next").NextConfig} */
const config = {
output: 'standalone',
reactStrictMode: true,
experimental: {
serverActions: true,
Expand Down
11 changes: 6 additions & 5 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "linux-musl-arm64-openssl-3.0.x"]
}

datasource db {
Expand All @@ -23,7 +24,7 @@ model Protocol {
codebook Json
assets Asset[]
interviews Interview[]
active Boolean @default(false)
active Boolean @default(false)
}

model Asset {
Expand Down Expand Up @@ -91,9 +92,9 @@ model Key {
}

model AppSettings {
configured Boolean @default(false)
initializedAt DateTime @default(now())
configuredAt DateTime?
configured Boolean @default(false)
initializedAt DateTime @default(now())
configuredAt DateTime?
allowAnonymousRecruitment Boolean @default(false)
@@id([configured, initializedAt])
Expand Down

0 comments on commit aebfbef

Please sign in to comment.