mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Prisma stuff.
This commit is contained in:
parent
de54290af6
commit
510503045b
3 changed files with 4 additions and 2 deletions
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
|
|
@ -352,6 +352,8 @@ importers:
|
|||
specifier: ^5.5.3
|
||||
version: 5.8.3
|
||||
|
||||
src/generated/prisma: {}
|
||||
|
||||
packages:
|
||||
|
||||
'@ampproject/remapping@2.3.0':
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable no-console */
|
||||
require('dotenv').config();
|
||||
const { PrismaClient } = require('@prisma/client');
|
||||
const { PrismaClient } = require('../src/generated/prisma/index.js');
|
||||
const chalk = require('chalk');
|
||||
const { execSync } = require('child_process');
|
||||
const semver = require('semver');
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import debug from 'debug';
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
import { PrismaClient } from '@/generated/prisma/index.js';
|
||||
import { readReplicas } from '@prisma/extension-read-replicas';
|
||||
import { formatInTimeZone } from 'date-fns-tz';
|
||||
import { MYSQL, POSTGRESQL, getDatabaseType } from '@/lib/db';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue