Closed jonymei closed 7 years ago
Hi @ahumeijun I tried to reproduce this but couldnt. Can you fork this repo and reproduce the problem in the electron-example?
thanks for your reply.
I had reproduced this bug on my repo. But I got an error Uncaught Error: Cannot find module 'babel-runtime/helpers/typeof'
when I run the eletron app use command npm start
. So I use rxdb module instead of source code. Is this the cause of the bug?
my repo: rxdb
@ahumeijun thank you for sharing your repo. This helped a lot. The problem was that the primary-key was not translated back, when the migrated document got deleted from the old pouchdb-instance.
old schema(without title filed):
new schema:
create collection:
run app and log will be print all the time.