Is it possible to put Money CCK field in content type table (content_type_***), not another table (content_field_money)? thanks.

If "Number of values" is 1, the performance should be better if we put them in the same table.

Comments

markus_petrux’s picture

Status: Active » Fixed

The module that implements a CCK field cannot decide where the DB field is stored. That's something CCK decides based on several factors.

CCK stores DB fields on a per content type table by default, except when the field allows more than one value, or if the field is shared between several content types, where CCK uses a separate table for the field.

AFAICT, this is not going to change during the life cycle of CCK for Drupal 6. For Drupal 7, you should look at Fields module in core itself.

dennys’s picture

Thanks for your reply, I found if I use same field in 2nd table, CCK will remove the CCK field from 1st table and create a new table for them.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.