So this is what one possible database migration scenario looks like in Kitten when you’re storing JavaScript objects (instances of JavaScript classes) in your database.
(In this case, I’m moving a VerifiedAccounts collection comprising VerifiedAccount instances to an Accounts collection comprising Account instances, which introduces an inVerified boolean to the model.)
See the Database App Modules Kitten tutorial for more:
https://kitten.small-web.org/tutorials/database-app-modules/