Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
npx convex import --replace-all (#31724)
add `--replace-all` flag to the CLI command `npx convex import`. This behaves the same as the Restore functionality in the dashboard. The behavior is useful from the CLI as well. It allows you to effectively clear all of a deployment's tables with a cleaner solution than we otherwise provide. Tested against a local backend and it worked as expected, clearing a table that was in the schema and deleting a table that wasn't. Smoke test works too. GitOrigin-RevId: cf925c3fc915c7c32761403f254d92ba8ea40869
- Loading branch information