You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there is a way to define schema for multiple tables (using the "models" key) in the same contract.yaml file. I have a situation where I need to define schema for two json objects asset_created and asset_updated within the same file using the "schema" key. How do we achieve this?
asset_created has its own schema which is different than the schema of asset_updated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I see there is a way to define schema for multiple tables (using the "models" key) in the same contract.yaml file. I have a situation where I need to define schema for two json objects asset_created and asset_updated within the same file using the "schema" key. How do we achieve this?
asset_created has its own schema which is different than the schema of asset_updated.
Beta Was this translation helpful? Give feedback.
All reactions