Supprimer Populate_DB
This commit is contained in:
12
Populate_DB
12
Populate_DB
@@ -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"
|
|
||||||
Reference in New Issue
Block a user