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

@@ -0,0 +1,9 @@
import { PrismaClient } from 'db'
import { promptAndSetEnvironment } from './utils'
const executePlayground = async () => {
await promptAndSetEnvironment()
const prisma = new PrismaClient({ log: ['query', 'info', 'warn', 'error'] })
}
executePlayground()