I wonder I don't get reply_to_id in my tables after I migrate and push

export const Comment = pgTable(
  "comments",
  {
    id: serial("id").primaryKey(),
    content: text("content").notNull(),
    postId: integer("post_id").references(() => Post.id),
    authorId: integer("author_id").references(() => Profile.id),
    createdAt: timestamp("created_at").notNull().defaultNow(),
    updatedAt: timestamp("updated_at").notNull().defaultNow(),
  },
  (t) => [index("reply_to_id").on(t.id)]
);
image.png
image.png
Was this page helpful?