Skip to content

Migrate SQLite to rustbreak

I want to migrate all persistent data to rustbreak

Here is the new data schema:

Legend :

  • module

    • db1 (index, data)
    • db2 (index, data)
  • blockchain module:

    • blocks: (BlockNumber, Vec)
    • forks: (ForkId,Vec<(BlockForkDatas)>)
    • forks_blocks : (Blockstamp, BlockDocument)
    • wot_index: (PubkeyHash,(DALIdentity,Vec,Vec))
    • tx_index: (TxHash,DALTx)
    • sources_index: (SourceConditionsHash,DALSource)

At first, I will only migrate the blockchain module.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information