What Happens to Existing Data When Renaming a Table in Dev and Deploying to Live?

Hi everyone,

I have a question about database table renaming behavior during deployment in Bubble.

Suppose I have a data type (table) named XYZ that exists in both my development (main) and live environments, and both versions contain data in this table.

Now, in the dev (main) version, I rename this table from XYZ to ABC.

If I deploy this version to live, what happens to the existing table and its data?

  • Will Bubble automatically rename the XYZ table to ABC in the live environment, preserving the existing data?
  • Or will it create a new table ABC with no data, and leave the old XYZ table (and its data) untouched?

I want to make sure I don’t unintentionally lose or orphan any data during deployment. Has anyone gone through this scenario or can confirm the behavior?

Thanks in advance!

The table is renamed and data is kept untouched.

References to the table are also “updated” so no need to revise exisitng (no)code.

You would only need to update the name in your own documentation.

As @ademiguel says, it won’t effect your data, i did a test with a test app before i ans you, see below:

test | Bubble Editor - Google Chrome - 15 May 2025