`no such table: main.__old_push_projects` after db push

Added the following to a table named service:
  (table) => ({
    name_project_idx: index("name_project_idx").on(table.name, table.projectId),
    name_project_unq: unique("name_project_unq").on(
      table.name,
      table.projectId,
    ),
  }),


and ran pnpm drizzle-kit push:sqlite

it warned:
 Warning  Found data-loss statements:
· You're about to delete __old_push_projects table with 4 items

THIS ACTION WILL CAUSE DATA LOSS AND CANNOT BE REVERTED

Do you still want to push changes?
[✓] Changes applied


__old_push_projects is never mentioned in my codebase. I have a table named projects, and thats the closest thing.
now my server errors with:
"no such table: main.__old_push_projects"

What is this table supposed to be and how can I get it back?
Was this page helpful?