How to fix cannot TRUNCATE ONLY on partitioned table in PostgreSQL | DevErrors