Fix db query to restore previous doc version (#498)
This commit is contained in:
parent
d948b99719
commit
c5f6ac8deb
2 changed files with 15 additions and 5 deletions
|
|
@ -82,7 +82,7 @@ export const document = pgTable(
|
|||
|
||||
export type Document = InferSelectModel<typeof document>;
|
||||
|
||||
export const Suggestion = pgTable(
|
||||
export const suggestion = pgTable(
|
||||
'Suggestion',
|
||||
{
|
||||
id: uuid('id').notNull().defaultRandom(),
|
||||
|
|
@ -106,4 +106,4 @@ export const Suggestion = pgTable(
|
|||
})
|
||||
);
|
||||
|
||||
export type Suggestion = InferSelectModel<typeof Suggestion>;
|
||||
export type Suggestion = InferSelectModel<typeof suggestion>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue