Change schema selection from db to table