本插件使用了官方推荐的`nonebot-plugin-orm`插件操作数据库,安装插件或更新插件版本后,在启动机器人前,都需要执行此命令。 ```shell nb orm upgrade ``` 手动执行下列命令检查数据库模式是否与模型定义一致。机器人启动前也会自动运行此命令,并在检查失败时阻止启动。
xierxierx1 commented on Nov 3, 2024 xierxierx1 on Nov 3, 2024 Author 重装完数据库 重装了下python变成这样了 ProgramRipper commented on Nov 13, 2024 ProgramRipper on Nov 13, 2024 Member 请确认你是否启用了插件 https://github.com/ALittleBot/nonebot-plugin-fishing ProgramRipperclosed this ...
SQLAlchemy support for NoneBot2. Contribute to nonebot/plugin-orm development by creating an account on GitHub.
plugin-orm/nonebot_plugin_orm/templates/multidb/env.py Lines 130 to 133 inef116c4 withsuppress(RuntimeError): asyncio.run(coro) await_only(coro) 改写成 https://github.com/nonebot/plugin-orm/blob/ef116c4e33a9d7299c1a12340aa79313acea3780/nonebot_plugin_orm/templates/generic/env.py#L87-90...
github-actions released this 18 Jul 11:21 v0.7.5 8468906 What's Changed 🐛 fix(alembic): revision default args 🐛 fix(alembic): editable check in Python 3.9 Full Changelog: v0.7.4...v0.7.5Assets 4 nonebot_plugin_orm-0.7.5-py3-none-any.whl 32.1 KB 2024-07-18T11:21:50Z ...