AriaieBOY 2022-06-27 21:39:08 +04:30
parent a37dd6180b
commit 10fb001d04
5 changed files with 7305 additions and 4497 deletions

View file

@ -1,8 +1,9 @@
require('dotenv').config();
import dotenv from 'dotenv';
dotenv.config();
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
const chalk = require('chalk');
const spawn = require('cross-spawn');
import chalk from 'chalk';
import spawn from 'cross-spawn';
let message = '';
const updateMessage = `To update your database, you need to run:\n${chalk.bold.whiteBright(