Changing drupal content type

I was optimistic about the amount of news that was going to be posted on the WFB website so I setup an extra content type specifically for news that was important enough to go on the site but not front-page worthy. Turned out that for the most part this content was overlapping with the front page posts so I decided to delete it.

Instead of recreating all the stories I checked out the DB to see if I could do it manually without too much going wrong.

UPDATE `node`
SET `type` = “story”
WHERE `type` = “latestnews”

Run that script and all thats left is to delete the Content Type and then remove any Vocabulary associated with it.

Post a Comment

Your email is never published nor shared. Required fields are marked *