django-postgres-extra
django-postgres-extra copied to clipboard
Add in Hourly Partition Support
This PR adds support for Hourly partitions, using the existing time-based partitions functionality.
I've added new unit tests, and all the old unit tests still pass.
Also added an example in docs/source/table_partitioning.rst
When using hourly partitions, they start at 00:00 of any given day, in order to follow the pattern given by weekly and monthly partitions, which start on Monday and the 1st of the month respectively.