I have the following problem in postgres. I\'m trying to create an inventory system. There are item types that can be created procedurally ("apple","sword&quo