-- NEO-61: per-interactable remaining gather capacity (world-wide; not per-player). CREATE TABLE IF NOT EXISTS resource_node_instance ( interactable_id TEXT PRIMARY KEY, remaining_gathers INTEGER NOT NULL CHECK (remaining_gathers >= 0), updated_at TIMESTAMPTZ NOT NULL DEFAULT now() ); COMMENT ON TABLE resource_node_instance IS 'Persisted remaining gathers per world resource-node instance (NEO-61); lazy-init from catalog maxGathers.';