1192 ghost table rename fails

this fixes #1192

the way to fix this issue is to add a flag to the visualization so when it's checked there no rename performed in the database

it's a shit but there is no way to rename the metadata only
please add here also a comment explaining the why of the flag