Hi,
Blue-Green deployment is generally not applicable to database servers.
Doing blue/green on a database is more of a mandate of "no breaking changes", than a technical solution. A database is generally too big to copy to a new server and swap out for every deployment, and not really necessary if you follow the rules of no breaking changes.
I suggest you read this: https://spring.io/blog/2016/05/31/zero-downtime-deployment-with-a-database
Kindly accept if it helps , Thanks