1. create your partitioned table empty with only one partition as new_table.
2. exchange table target_table with new_table
3. rename target_table to table_old
4. rename new_table to target_table