We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Docs: http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#schema-migrations
The text was updated successfully, but these errors were encountered:
Is there no way to make new tables?
Sorry, something went wrong.
I suppose it's part of the core Database/Model API (http://docs.peewee-orm.com/en/latest/peewee/models.html#creating-model-tables):
# Connect to our database. db.connect() # Create the tables. db.create_tables([User, Tweet])
It would be nice to be versioned, though. Maybe we should get some clarification from Peewee's author?
Ah, so the schema-migration module just provides the SQL metadata-altering statements not in base peewee. That makes sense.
My reading of the playhouse docs is that schema versioning is left to the user, which I think is fine.
And there is this third-party project to provide a "real" migrations framework for Peewee: https://github.com/klen/peewee_migrate
No branches or pull requests
Docs: http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#schema-migrations
The text was updated successfully, but these errors were encountered: