I have a database for my master branch. I want to keep my master branch the same as the release version so I can't alter the database for updates.
Because I work at different updates at the same time, switching databases is a lot of work so I want to automate this. I already have a function that checks on what branch I am working and changes my database settings to the correct database.
I was thinking of automating the creation of the database when I create a new branch. But I do not know if this is possible within GitLab.
Is it possible to copy the master database to a new database when I create a new branch? If so, is there any documention I can look at?