Supprimer Populate_DB

This commit is contained in:
2025-09-30 20:43:17 +02:00
parent 622fd6deaa
commit 446fa183f0

View File

@@ -1,12 +0,0 @@
3. Initialisation de la base (migrations Prisma)
Cloner le repo AFFiNE :
git clone https://github.com/toeverything/AFFiNE.git ~/AFFiNE
Puis lancer les migrations :
docker run -it --rm --network=affine_default
-e DATABASE_URL="postgres://affine_usr:R8v%232kP9sTq4%21Lm@affine_db:5432/affine?sslmode=disable"
-v ~/AFFiNE:/work
-w /work/packages/backend/server node:20-alpine sh -c "npm install -g prisma@6 && prisma migrate
deploy --schema=./schema.prisma"