Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Add multi_index::update_index for use upon addition of a new secondary index to an existing table.#1210

Open
swatanabe wants to merge 1 commit intoEOSIO:developfrom
eoscommunity:update_index
Open

Add multi_index::update_index for use upon addition of a new secondary index to an existing table.#1210
swatanabe wants to merge 1 commit intoEOSIO:developfrom
eoscommunity:update_index

Conversation

@swatanabe
Copy link
Copy Markdown

Change Description

This allows contract developers to add new indexes to existing tables without completely breaking them. Doing so requires a migration step before the new index can be used. Existing indexes can be used without issues before the migration is completed.
Upstreaming this as requested by @heifner

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant