move dynamic where to DB
Merge branch 'master' of github.com:sallon88/database