By mswatcher
via iainhunter.wordpress.com
Published: Aug 05 2012 / 00:44
Database migrations are an increasingly common pattern for managing and automating the creation of your projects database schemas. Typically each migration has 3 elements: A Unique Id – each new migration is given a numeric identifier higher than the previous one. An UP component – describing the table / row / column / key – you want to create A DOWN component – which exactly reverses the change you’re are making in the UP component.
Add your comment