Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple database #335

Open
lbyczzz opened this issue May 10, 2024 · 2 comments
Open

Multiple database #335

lbyczzz opened this issue May 10, 2024 · 2 comments

Comments

@lbyczzz
Copy link

lbyczzz commented May 10, 2024

您好,当我一个应用下想使用多个数据库时,使用aerich该如何将相关的表迁移到对应的database?

@tufbel
Copy link

tufbel commented May 30, 2024

@lbyczzz
Copy link
Author

lbyczzz commented May 30, 2024

Readme里有说明https://github.com/tortoise/aerich?tab=readme-ov-file#multiple-databases

您好这里我看到了,但是执行了aerich migrate 报错没有--app这个参数,是我用得不对吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants