deleted separate schema files

This commit is contained in:
2024-12-17 13:44:08 -05:00
parent 363259b34c
commit 12493feb6e
37 changed files with 37 additions and 435 deletions

View File

@@ -2,7 +2,7 @@
import { eq, not , asc} from "drizzle-orm";
import { revalidatePath } from "next/cache";
import { db } from "../db";
import { manufacturer } from "@db/schema/Manufacturer";
import { manufacturer } from "@schemas/schema";
export const getData = async () => {
const data = await db.select().from(manufacturer).orderBy(asc(manufacturer.name));
return data;