Collection management

Hi Wix developers,
can you please advise, how to remove a collection (if I made a mistake in its structure - changing the field name is a torture, and it looks easier to drop the collection and create a new one)? Once I remove collection, and the create new one with the same name - I get the structure and content of the old one.

The same stuff for removed fields: I don’t need them any more, but they stay in “removed” and I can’t create the same name field.

I can copy values and structure from Live DB to Dev, but can’t overwrite dev → Live. Very confusing…

I’m writing at “experts” dashboard, and I’m pretty much aware of data loss, but before I get any valuable date in collection, I need to develop a web site with proper data structure, which is not easy under current limitations.

Cheers :slight_smile:

You ask the hard questions! This is good! Code questions are welcome here, but you might get better answers if you post in the code forum. https://www.wix.com/code/home/forum/community-discussion

Hmm, I think @hello44 might have a slight idea on how to do this! If not, the Wix Code Forum would definitely be the best place to find your answer. :slight_smile:

Hey man!
That’s correct and that is a feature not a bug :slight_smile: You can’t create a new collection with the same name as the one you just deleted, you will need to create a new one with a different name. The same goes with fields in your data collection. I would go for adding a new field instead of recreating the whole data collection.

Thank you! :smiley: