mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Revert check-db.
This commit is contained in:
parent
21367e166e
commit
886b7e9e56
2 changed files with 6 additions and 7 deletions
|
|
@ -1,10 +1,9 @@
|
|||
/* eslint-disable no-console */
|
||||
import 'dotenv/config';
|
||||
|
||||
import { PrismaClient } from '../src/generated/prisma';
|
||||
import chalk from 'chalk';
|
||||
import { execSync } from 'child_process';
|
||||
import semver from 'semver';
|
||||
require('dotenv').config();
|
||||
const { PrismaClient } = require('@prisma/client');
|
||||
const chalk = require('chalk');
|
||||
const { execSync } = require('child_process');
|
||||
const semver = require('semver');
|
||||
|
||||
if (process.env.SKIP_DB_CHECK) {
|
||||
console.log('Skipping database check.');
|
||||
Loading…
Add table
Add a link
Reference in a new issue