Changing db scheme throught the app

Is there any way in bubble to change an existing db by replacing it in all existing workflows, db entries with a new entry?


For example in this data type we have content (for sorting) that is a number, before it was text, to change it to a number is easy as it would have been just changing the text type to a number, but it’s unavailable probably due to good reasons in bubble. My question is: If i had “Content (for sorting)” as a text field, and I create a new Content (for sorting) number field to migrate the old one into, then how do I:

  1. Find all the existing workflows and conditions associated with the old text field to change them to use the new number type one?
  2. Take all current existing entries that use the Content (for sorting) text field and run a script to migrate them to the new Content (for sorting) number field?

Use the ‘Search’ feature to find all the places using the existing field.

Create a backend workflow, with a parameter of the Type of thing in question, which sets the new value to the old value, and run it as a bulk action on the datatype (from the data tab of the editor)

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.