mirror of
https://github.com/hex248/sprint.git
synced 2026-02-09 10:43:02 +00:00
shared zod types and drizzle schema
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { eq } from "drizzle-orm";
|
||||
import { db } from "../client";
|
||||
import { Issue, Project, User } from "../schema";
|
||||
import { Issue, Project, User } from "@issue/shared";
|
||||
|
||||
export async function createProject(blob: string, name: string, ownerId: number) {
|
||||
const [project] = await db
|
||||
|
||||
Reference in New Issue
Block a user