state needs to be kept properly, database_update.php needs to be rewritten to run the migrations, rollbacks need to be implemented extensions stuff needs to be integrated with it proper error handling needs to be added and auto rollback for partially applied migrations on error and we need to very thorougly test that our conversion of databse_update contents to migrations still works correctly