Now resources of a different type, in the same storage with the same name can be inserted in the database.