change fixes a problem with pMain 'Inventory' 

The second file(sql) that you have on github is not needed.
Merge pull request #7 from SanKen/patch-3

change fixes a problem with pMain 'Inventory'