fixed error in migration
do migration in transaction
add resources.yml to repository, secrets are read from environment
auto generate ids