Reason for error: The database version does not match, perhaps the files in the migration folder have changed but the database version is still the same.
Solution:
Delete the migration folder and delete the alembic_version table from the database.
Re-initialize (init, migrate, upgrade) to retain the original data
Read More:
- [Solved] npm Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.
- [Solved] Error dropping database (can‘t rmdir “emos“ errno: 39)
- Sqoop Error: Can‘t parse input data: ‘\N‘ [How to Solve]
- How to Solve Angular Error: error NG8002: Can‘t bind to ‘ngModel‘ since it isn‘t a known property of ‘input‘.
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- [Solved] redis Error: Can‘t save in background fork Cannot allocate memory
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- [Solved] Yolox Run Error: can‘t find starting number
- [Solved] PSPICE Error: ERROR(ORPSIM-16276): Can‘t find library
- [Solved] spark sql Error: Can‘t zip RDDs with unequal numbers of partitions
- [Solved] Adb Shell Monkey Warning: can‘t create log.txt, Read-only file system
- [Solved] MYSQLD: Can‘t create directory ‘/usr/local/mysql/data/’(Errcode:2 -No such file or directory)
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- Grpc Error: failed to unmarshal the received message proto: can‘t skip unknown wire type 7
- [Webpack Update] vue-loader Error: Compiled with problems : ERRORModule notfound: Error:Can‘ t resolve vue in
- [Solved] react Error: Can‘t perform a React state update on an unmounted component
- This limit can be set by changing the [search.max_open_scroll_context] setting
- jupyter notebook Sets Default Browser Error: SyntaxError: (unicode error) ‘utf-8‘ codec can‘t decode byte 0xd4
- [Solved] Eslint error: /xxx/components/xxx import should occur after import of /xxx/utils/xxx
- [Solved] UE4 Error: Couldn‘t find file for package *** requested by async loading code. NameToLoad: ***