[1.7.x] Fixed #23264: Schema backends honour db_constraint