How to implement MySQL database migration feature

Basic idea of database migration is database schema, which is organized into versions, need to be upgraded or downgraded from previous to current version. Refer to the diagram below, a simple database to store a blog post: On initial release (version 1), the application only have 4 columns – id, title, content & created. When […]