mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
Update imports
This commit is contained in:
parent
6febf51cd2
commit
aadb4ff85d
4 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
import { PrismaClient } from "@prisma/client";
|
||||
import { PrismaClient } from "../generated/client";
|
||||
|
||||
export type * from "@prisma/client";
|
||||
export type * from "../generated/client";
|
||||
|
||||
const prismaClientSingleton = () => {
|
||||
return new PrismaClient();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PrismaClient } from "@prisma/client";
|
||||
import { PrismaClient } from "../generated/client";
|
||||
import { seedPolls } from "./seed/polls";
|
||||
import { seedScheduledEvents } from "./seed/scheduled-events";
|
||||
import { seedUsers } from "./seed/users";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { faker } from "@faker-js/faker";
|
||||
import type { VoteType } from "@prisma/client";
|
||||
import type { VoteType } from "../../generated/client";
|
||||
import dayjs from "dayjs";
|
||||
import { prisma } from "../client";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
ScheduledEventStatus,
|
||||
type Prisma,
|
||||
type ScheduledEventInviteStatus,
|
||||
} from "@prisma/client";
|
||||
} from "../../generated/client";
|
||||
import dayjs from "dayjs";
|
||||
import { faker } from "@faker-js/faker";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue