In my schema file I had specified a collection and later I changes the collection name, it works., In my Convex dashboard I can see both the collections (empty for now)
I tried to delete the collection I am not using, but it threw error
"Failed to insert or update a document in table "COLLECTION_NAME" because it does not match the schema: Table "COLLECTION_NAME" that appears in schema must exist"
Ok, I added the collection back in schema file and then tried to delete it, In this case I got error saying (not exact): Collection exists in schema file, I cannot delete it, First I need to remvoe the collection from schema file.
Now, you see the condition issue I am running into?
TLDR; To delete a collection I have to remove it from my schema file AND to delete a collection, that collection must be present in the schema file.