Wes Kendall
Wes Kendall
The `[tool.conda-lock.dependencies]` section in pyproject.toml allows one to specify Conda-only dependencies that aren't available via pip. I propose a `[tool.conda-lock.dev-dependencies]` section for development dependencies only available via Conda. For example,...
Integrate pgtrigger into django's check system similar to other Django model constructs. Key pieces of behavior desired: 1. Duplicate trigger name checks happen in the check system instead of during...
Version 3 integrates ``django-pgtrigger`` with the Django migration system, along with several other superficial updates. Version 4 changes the behavior of using triggers in multi-database environments. **TL;DR** Most users can...
@tomage leaving a placeholder here for MySQL support since it is actively under development. So far it looks like MySQL support is going to be close to feature compliance with...
``django-pghistory`` tracks history with triggers that are installed by ``django-pgtrigger``. ``django-pgtrigger`` is now integrated with the migration system, so triggers will appear in migrations from now on. ## Instructions for...
In order to prevent issues like #96 happening again, test against all supported versions of Postgres in the test suite and document which Postgres versions are supported
Filtering triggers by model/type would allow for more expressiveness in functions like `pgtrigger.ignore()`, for example, ignoring all soft deletes across a project to allow hard deletes
I have a proof of concept that uses querysets to construct functions for triggers. This helps alleviate the need to write raw SQL, especially for denormalizations. Here's what it looks...
For example: ``` class PartitionedEvent(PostgresPartitionedModel): class PartitioningMeta: method = PostgresPartitioningMethod.RANGE key = ["pgh_created_at"] pgh_created_at = models.DateTimeField() class Meta: abstract = True class ConcretePartitionEvent(PartitionedEvent): pass ``` When calling `manage.py pgmakemigrations`, it...
When using `pgtrigger.ignore` or `pgtrigger.schema`, variables are inject into the SQL, meaning an additional SQL statement to set variables is prepending before every SQL statement. The rationale of this original...