I want to migrate my no-SQL dB on-chain. There are two options as far as I know:
- Store the objects in the form of string using a simple smart contract.
- Create a structure to implement the dB schema. Then store migrate the dB objects as instances of the schema structure.
Are there any more possible solution?
P.S: IPFS and swarm are better solutions, but I'm interested in solutions for private networks.