Better model migration for renaming

anonymous 3 years ago updated by anonymous 3 years ago 1

In my project I had a table, let's call it table_1. I decided to rename it to table_2. Then I generated a model migration using Vertabelo and the resulting code dropped the table_1, and then created a new table_2. Fortunately, the table is currently empty, so that's not an issue. However, the next time I'm using the feature, I'd like Vertabelo to notice that I renamed the table, not deleted it.