postgres promote hot_standby (archive_command = ':') to master (archive_command = '')
It's not normally recommended to promote the hot standby but have you read this article on it?
https://help.theatremanager.com/book/export/html/3679