🛂 Add backup and restore database scripts
This commit is contained in:
9
packages/scripts/playground.ts
Normal file
9
packages/scripts/playground.ts
Normal 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()
|
||||
Reference in New Issue
Block a user