I just recently started to use database migrations in a project that I worked on, and prefered to keep the migrations together with the code, since this way I could, for example, do a commit with all the changes done on the code itself and on the database.