Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Latest commit

 

History

History
12 lines (7 loc) · 604 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 604 Bytes

migration-helpers

This is for migrating the database from message-manager-discord/bot to message-manager-discord/backend

To use this Set the connection string in ./source/index.js and run npm i and then node index.js in ./source/

Then copy ./source/data.json to ./final/data.json

Fill in the connection string for the final database in ./final/.env (the database must already be migrated with tables, to do this just run the backend once) it also must be empty. Then run npm i npx prisma generate node index.js

Any issues join the support server :) https://discord.gg/xv7VyN6YHR