Skip to content

Commit

Permalink
fix: smth
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Nov 12, 2023
1 parent 3c0f5fb commit 668df86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 73 deletions.
71 changes: 0 additions & 71 deletions apps/nextjs/src/app/api/products/route.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/nextjs/src/app/api/webhook/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { User } from "@clerk/nextjs/api";
import { Webhook } from "svix";

import { db, eq } from "@vivat/db";
import { users } from "@vivat/db/schema/user";
import { users } from "@vivat/db/schema/users";

type UnwantedKeys =
| "emailAddresses"
Expand Down
2 changes: 1 addition & 1 deletion packages/db/schema/products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const products = mySqlTable(
stock: int("stock").notNull(),
image: varchar("image", { length: 256 }).notNull(),
sellerId: varchar("seller_id", { length: 36 }).notNull(),
categoryId: varchar("category", { length: 255 }).notNull(),
categoryId: varchar("category_id", { length: 255 }).notNull(),
createdAt: timestamp("created_at")
.default(sql`CURRENT_TIMESTAMP`)
.notNull(),
Expand Down

0 comments on commit 668df86

Please sign in to comment.