2
0

🛂 Add backup and restore database scripts

This commit is contained in:
Baptiste Arnaud
2022-11-23 11:40:57 +01:00
parent d80cc1b248
commit 3645607ed4
10 changed files with 107 additions and 43 deletions

View File

@ -5,17 +5,19 @@
"license": "AGPL-3.0-or-later",
"private": true,
"scripts": {
"start:local": "tsx index.ts",
"start:staging": "NODE_ENV=staging tsx index.ts",
"start:prod": "NODE_ENV=production tsx index.ts"
"playground": "tsx playground.ts",
"db:backup": "tsx backupDatabase.ts",
"db:restore": "tsx restoreDatabase.ts",
"db:setCustomPlan": "tsx setCustomPlan.ts"
},
"devDependencies": {
"@types/node": "18.11.9",
"axios": "^1.1.3",
"@types/prompts": "^2.4.1",
"db": "workspace:*",
"emails": "workspace:*",
"got": "12.5.3",
"models": "workspace:*",
"prompts": "^2.4.2",
"stripe": "11.1.0",
"tsx": "3.12.1",
"typescript": "4.9.3",