JoinSEEDS / seeds-smart-contracts

Smart contracts for SEEDS - A Regenerative Civilization Building Game.
https://docs.google.com/document/d/1C4w9Ol8VGabCIcQDVPDrwcTRoJXBqhrb7VjslwQbUGU/edit#heading=h.6f4sxygso816
MIT License
20 stars 6 forks source link

Feature/flag table change #422

Closed n13 closed 2 years ago

n13 commented 2 years ago

This change changes the flags table from being scoped on the "to" account, to being a flat, indexed table

This way we can search for both from and to, which we need on the app side.

Later on PR needs to remove the scoped table and use the new table everywhere.

Making this change now so we don't need to write migration code later on - since there's only 2 flags in the system and migrating them with the migflags action.