Bigint range partition in postgresql

Hello! Please review my code, maybe it's possible to include it in new version of Architec.
Thank you Nikolay