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

No changes in schema detected. #6

Open
rafaelanchieta opened this issue Jan 10, 2019 · 5 comments
Open

No changes in schema detected. #6

rafaelanchieta opened this issue Jan 10, 2019 · 5 comments

Comments

@rafaelanchieta
Copy link

When I run python manager.py db migrate after running python manager.py db init, the following message appears.

INFO [alembic.env] No changes in schema detected.

And no table is created.

@ybagarka1
Copy link

You will be executing the migrations for the first time ?

@rafaelanchieta
Copy link
Author

Yes

@g-casey
Copy link

g-casey commented Sep 29, 2019

I'm am also getting this issue. Have you found a fix to it?

@PaulGhibs
Copy link

i think i know where the issue came from but i cannot solve it, it's related to your **required variable Environment
** I try a lot of adresses for my db but even for me it's not working well.
The probleme is related to this cmd export DATABASE_URL= postgres://name:password@houst:port/blog_api_db.

@hodev09
Copy link

hodev09 commented May 12, 2020

from .BlogpostModel import BlogpostModel, BlogpostSchema
from .UserModel import UserModel, UserModelSchema

Add these two lines in the end of models_init_.py file & the issue will be fixed.

image

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

5 participants