summaryrefslogtreecommitdiff
path: root/src/clients/Prisma.ts
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-08-18 01:54:36 +0600
committerilotterytea <iltsu@alright.party>2022-08-18 01:54:36 +0600
commitf7cde0cf1eaad5a03553470a3259d64aec94d70b (patch)
tree9f9e4695c0226b2484cfbd3e8be0d039b6cb5d4a /src/clients/Prisma.ts
parentd2dd2d173adbb5bfcfd3bc3955dc462b137f1b02 (diff)
i forgor to commit
Diffstat (limited to 'src/clients/Prisma.ts')
-rw-r--r--src/clients/Prisma.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/clients/Prisma.ts b/src/clients/Prisma.ts
new file mode 100644
index 0000000..1e17fc9
--- /dev/null
+++ b/src/clients/Prisma.ts
@@ -0,0 +1,19 @@
+// Copyright 2022 NotDankEnough (ilotterytea)
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import { PrismaClient } from "@prisma/client";
+
+const prisma = new PrismaClient();
+
+export default prisma; \ No newline at end of file