On Apr 2, 11:54 am, Blair McKenzie <[email protected]> wrote:
> There isn't really anything. But as well as deleting the tables, you might
> also want to remove records in refObjects that refer to those types, i.e.
> delete from refObjects where typename in ('list','of','deleted','types').

Don't forget array properties -- you need to drop all tables that are
prefixed with the content type's name, eg.
mycontenttype_aSomeProperty.

> Same thing with refCategories. If that doesn't have a typename column, just
> remove records that don't have a corresponding refObject record.

I'm pretty sure that running the "Fix RefObjects" utility under
developer tools in the admin will clean up the table.  Sounds like we
need a similar utility for refCategories.

The absence of a content type, as denoted by the absence of its
underlying component makes it difficult for us to pick up metadata to
programmatically remove the content type.  I think we'd need to create
a content type registry of sorts to facilitate an automated clean up.
We're part of the way there with the introduction of farCOAPI,  Anyone
have any thoughts on the subject?

-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to