status-im / status-protocol-go

Status Protocol implementation in Go
Mozilla Public License 2.0
0 stars 1 forks source link

Add persistent datasync #54

Closed cammellos closed 5 years ago

cammellos commented 5 years ago

Add datasync persistence

adambabik commented 5 years ago

For the custom migrations table we need to merge https://github.com/status-im/migrate/pull/2.

cammellos commented 5 years ago

@adambabik could you review again, I have made some changes, basically, I have exposed a method Migrate in mvds which takes care of migrating the db passed with the corresponding migrations. In turn this is called by our Migrate method, which migrates the passed db with all the correct migrations + mvds, so that the two migrations are not stored in the same table.