Skip to content

Commit 1e7c964

Browse files
committed
feat: clean up mastra branch
1 parent 829317a commit 1e7c964

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

apps/web/client/public/onlook-preload-script.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

apps/web/client/src/server/api/routers/project/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const projectRouter = createTRPCRouter({
123123
const newFrame = createDefaultFrame(newCanvas.id, input.project.sandboxUrl);
124124
await tx.insert(frames).values(newFrame);
125125

126-
// 6. Create the creation request
126+
// 5. Create the creation request
127127
if (input.creationData) {
128128
await tx.insert(projectCreateRequests).values({
129129
...input.creationData,

packages/db/src/schema/project/chat/message.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { createInsertSchema, createUpdateSchema } from "drizzle-zod";
66
import { conversations } from "./conversation";
77

88
export const CONVERSATION_MESSAGe_RELATION_NAME = 'conversation_messages';
9-
export const messageRole = pgEnum("role", ChatMessageRole);
9+
10+
export const messageRole = pgEnum("message_role", ChatMessageRole);
1011

1112
export const messages = pgTable("messages", {
1213
id: uuid("id").primaryKey().defaultRandom(),

0 commit comments

Comments
 (0)