issues Search Results · repo:klen/peewee_migrate language:Python
Filter by
77 results
(76 ms)77 results
inklen/peewee_migrate (press backspace or delete to remove)Is there a way to create migrations automatically based on model changes ? For instance I have some models in
./app/models.py and I would like to run:
pw-migrate create --auto-source app.models --database ...
adrianlocurciodenode
- Opened on Nov 27, 2024
- #238
Describe the bug If I set formats for DateTimeField, the formats parameter is not wrapped in in the generated migration
file, causing the migration to fail.
To Reproduce Steps to reproduce the behavior: ...
yuWorm
- 1
- Opened on Oct 9, 2024
- #237
Hello,
Could tests be added to sdist? This way we can download full source from PyPI instead from GH.
Thanks
nunotexbsd
- Opened on Jul 25, 2024
- #236
Is it possible to exclude some models from migration? For example, the BaseModel?
class PeeweeBaseModel(Model):
class Meta:
database = Config.web_db
class Settings(PeeweeBaseModel):
setting_name ...
ReS4
- 2
- Opened on Jun 25, 2024
- #235
Adding a constraint, either in a field s parameters of through a model s Meta class does not propagate to generated
migration files.
To Reproduce Steps to reproduce the behavior:
1. Create a Model with ...
vethan
- Opened on Mar 4, 2024
- #232
I m getting auto-generated migrations with lines like this:
migrator.drop_index( schoolsport , school , sport )
migrator.add_index( schoolsport , Model: School , sport , unique=True)
Note the Model: ...
dmwyatt
- Opened on Dec 13, 2023
- #230
The help for the count option to the rollback command says Number of last migrations to be rolled back. Ignored in case
of non-empty name .
What name is it referring to? It doesn t look like there s a ...
dmwyatt
- Opened on Nov 10, 2023
- #229
Describe the bug The Git tag for version 1.7.0 is missing.
Expected behavior Releases that are uploaded to pypi should also be tagged on Git.
Additional context We are pulling the sources for pewee-migrate ...
mweinelt
- 1
- Opened on Apr 10, 2023
- #224
Describe the bug pw_migrate script not available on fresh install (Python 3.9, Ubuntu 20.04.6 LTS)
To Reproduce
$ pip install peewee-migrate
Requirement already satisfied: peewee-migrate in /home/myuser/myproject/.venv/lib/python3.9/site-packages ...
Pithikos
- 2
- Opened on Apr 4, 2023
- #221
Describe the bug Error in migration execution
To Reproduce Steps to reproduce the behavior:
1. Write and run code:
import peewee
import peewee_migrate
db = peewee.SqliteDatabase( :memory: , pragmas={ ...
alteralt
- 1
- Opened on Jan 4, 2023
- #218

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.