Udated DB setup query.