You can use practices that introduced in Refactoring Practices. these practices can help you to migrate Database with backward compatibility. for example, when you want to rename a column in blue deployment, you must have the old column until green is available.
Also, spring has a good example with details with FlyWayDB.