Skip to content

Editing Predicate Predicates (e.g. type) #129

Answered by fdmmarshall
fdmmarshall asked this question in Q&A
Discussion options

You must be logged in to vote

If you’re not running a production ledger I’d almost always advise to rebuild the schema from block 1, with the predicate changes. If you need to scale the ledger you already have and re-architect it from the beginning that is not an option. You could just update the old predicate to be deprecated: true, and make a new predicate with the desired changes.

Be aware that you will need to transact the data from the deprecated predicate into the new predicate. Because Fluree treats historical data and time as a first-class citizen, you really can’t just tell a predicate to exist as a different data type, because index segments for that predicate and its values need to span not only current/fut…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fdmmarshall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant