You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError("\x1b[41;1mTo prevent disasters, you can only run this script using NODE_ENV=development; you can't run this script in production.\nIf you are running this as a developer, run the script by writing \x1b[0m\x1b[42;1mNODE_ENV=development npm run backup\x1b[0m");
console.log(`Database backed up to ${backupName}.sql\nYou can run \`NODE_ENV=development npm run restore\` and input ${backupName} to restore the database to this state.`);
awaitgetInfo(`Start the database service from docker? ${redBackground}(Recommended)${resetCode} (y/n) Default: y `,(isDocker: string)=>{
121
+
awaitgetInfo(`Start the database service from docker/Do you have docker installed? ${redBackground}(Recommended)${resetCode} (y/n) Default: y `,(isDocker: string)=>{
thrownewError("\x1b[41;1mTo prevent disasters, you can only run this script using NODE_ENV=development; you can't run this script in production.\nIf you are running this as a developer, run the script by writing \x1b[0m\x1b[42;1mNODE_ENV=development npm run restore\x1b[0m");
0 commit comments