fixed db clash with stock entry
inventory schema re-write