Migration that creates the items table, which holds every item instance, and the item_id_blocks table, which the instance ids are reserved from. A row of items names the item template of the instance, its serialized custom data and overridden fields, and where the instance is: in an inventory of a character, inside of a container item, in a container prop of a map or lying in the world of a map. Every row of item_id_blocks stands for a block of 1000 instance ids. See the lib/sv_storage.lua file of the Items plugin.

Summary

Methods

change()shared
Creates the items and item_id_blocks tables.

Methods

Creates the items and item_id_blocks tables.

Defined in