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

aerich upgrade on empty does not work in 0.7.1 #273

Open
jes5e opened this issue Oct 27, 2022 · 2 comments
Open

aerich upgrade on empty does not work in 0.7.1 #273

jes5e opened this issue Oct 27, 2022 · 2 comments

Comments

@jes5e
Copy link

jes5e commented Oct 27, 2022

With version 0.6.3 I am able to clone my project, create an empty db, and then run poetry run aerich upgrade, and all works like it should: the aerich table gets created along with all the tables for my models.

After updating to version 0.7.1, when I run that command on an empty db, I get this message: "No upgrade items found".

Downgrading to 0.6.3 fixes the issue.

@exherb
Copy link

exherb commented Feb 8, 2023

some issue here

@freakaton
Copy link

freakaton commented Mar 6, 2023

@jes5e that's because they moved from .sql migrations to .py and broke migrations, that was generated in <0.7.0 ver.

https://github.com/tortoise/aerich/blob/dev/CHANGELOG.md#070

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

3 participants