Effects of a stratified tidal flow on the morphodynamics