mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 10:46:35 +02:00
Set prisma binaryTargets (#387)
This commit is contained in:
parent
ee77fb9afa
commit
aa8810a9db
3 changed files with 6 additions and 1 deletions
5
docker-compose.local.yml
Normal file
5
docker-compose.local.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Build and run the project locally
|
||||||
|
services:
|
||||||
|
rallly:
|
||||||
|
build:
|
||||||
|
context: .
|
|
@ -1,4 +1,3 @@
|
||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
rallly_db:
|
rallly_db:
|
||||||
image: postgres:14.2
|
image: postgres:14.2
|
||||||
|
|
|
@ -7,6 +7,7 @@ datasource db {
|
||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client-js"
|
||||||
previewFeatures = ["referentialIntegrity"]
|
previewFeatures = ["referentialIntegrity"]
|
||||||
|
binaryTargets = ["native"]
|
||||||
}
|
}
|
||||||
|
|
||||||
model User {
|
model User {
|
||||||
|
|
Loading…
Add table
Reference in a new issue