bug fixes, and performance improvements, and drawer
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE "topics" ADD COLUMN "rename_attempt_id" text;
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "topics" ADD COLUMN "rename_expires_at" timestamp with time zone;
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "topics" ADD COLUMN "title_source" text DEFAULT 'manual' NOT NULL;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -122,6 +122,9 @@ export const topics = pgTable('topics', {
|
||||
agentId: text('agent_id').notNull().references(() => agents.id, { onDelete: 'cascade' }),
|
||||
name: text('name').notNull(),
|
||||
renaming: boolean('renaming').default(false),
|
||||
renameAttemptId: text('rename_attempt_id'),
|
||||
renameExpiresAt: timestamptz('rename_expires_at'),
|
||||
titleSource: text('title_source').notNull().default('manual'),
|
||||
createdAt: timestamptz('created_at').notNull().defaultNow(),
|
||||
}, (table) => [
|
||||
index('topics_agentId_idx').on(table.agentId),
|
||||
|
||||
Reference in New Issue
Block a user