userfrosting / learn

Documentation and guide for UserFrosting
https://learn.userfrosting.com
MIT License
14 stars 41 forks source link

Migrations for existing tables #51

Open feendrache opened 6 years ago

feendrache commented 6 years ago

In the Migration section there is mentioned that you can change existing tables with following migrations, but there is no example how to extactly do it in UF, think this would be a good addition

alexweissman commented 6 years ago

Could you be more specific? Are you talking about using the table method to add, modify, and remove columns to an existing table?

feendrache commented 6 years ago

Yes, that's exactly what i was talking about. Just a small example about adding, changing or removing columns to existing tables.