-
Did not find anything like m.removeColumn()... Or what am I supposed to do if the given column is no longer needed in the given table? Would the app crash if I simply remove from the entity class?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If the column has been nullable before, I don't think this is particularly risky. Drift won't crash when reading a row with additional columns from the database. And since the column is nullable, there shouldn't be any issues inserting the column either. That said, you can run a simple migration to delete the column from the database as well. |
Beta Was this translation helpful? Give feedback.
If the column has been nullable before, I don't think this is particularly risky. Drift won't crash when reading a row with additional columns from the database. And since the column is nullable, there shouldn't be any issues inserting the column either.
That said, you can run a simple migration to delete the column from the database as well.