created migration and db