Using rake file to fix existing denpency problem in databse

Should run "rake dbfix: pos_denpendency" on the production server. I've tested on my local, it works.