Adding partitions to init.sql
Fixed date ranges for constraints
Simplifying query since even basic examples exhibit behavior