0
Prévu

Better model migration for renaming

Kamil Bladoszewski il y a 2 ans mis à jour par Artsiom Kashkou il y a 2 ans 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.