feat: 使用 Alembic 实现数据库结构与代码同步
并且添加了一些管理数据库的快捷命令,实现和 Django 类似的开发体验: - uv run task makemigrations : 创建数据库变更文件 - uv run task migrate : 应用数据库变更 更多请查看 pyproject.toml 。 目前仅针对 SQLite 数据库进行适配。
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Generic single-database configuration.
|
||||
Reference in New Issue
Block a user