Rename a complete Pod
Hi,
I built a Pod with over 75 fields named hotel.
Now my boss changed plans and also wants to include restaurants, bars etc.. (fields are already there), but I think it's better to rename the pod too, to "Place" e.g.
But is that possible ?
I know I can export the hotel-pod via the package-exporter and import it back under another name, but then all data that's already inserted still is in the hotel-pod....
Is there a solution for this ?
Tom.
2 Answers
To rename a Pod manually:
- Change the table name from wp_pod_tbl_PODNAME to wp_pod_tbl_NEWPODNAME (lowercase)
- Go into the wp_pod_types and rename the row there by changing the name from PODNAME to NEWPODNAME (lowercase)
- Go into the wp_pod_fields and rename any references to PODNAME to NEWPODNAME in the "pickval" field on any row
After that -- you're all done!
mm.. seems to work when i rename the table in the database and the reference to the table in the pod_types-table


