Fix undo and redo by using initial commit hash for chat (#94)
This commit is contained in:
@@ -23,6 +23,7 @@ export const chats = sqliteTable("chats", {
|
||||
.notNull()
|
||||
.references(() => apps.id, { onDelete: "cascade" }),
|
||||
title: text("title"),
|
||||
initialCommitHash: text("initial_commit_hash"),
|
||||
createdAt: integer("created_at", { mode: "timestamp" })
|
||||
.notNull()
|
||||
.default(sql`(unixepoch())`),
|
||||
|
||||
Reference in New Issue
Block a user