architect
architect copied to clipboard
Postgresql 11 - Trigger for declarative partitioning
Now that Postgresql 10 and 11 support declarative partitioning, it would be nice if the architect install decorator had an option where the BEFORE INSERT trigger could be created that generates CREATE TABLE {tablename} PARTITION OF {parent_table}, rather than the (legacy) "INHERITS" form.
You can try this https://github.com/chaitin/django-pg-partitioning