Migrations system for applications without ORM