Closed (fixed)
Project:
Money field
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 16:41 UTC
Updated:
31 Aug 2010 at 15:20 UTC
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
Comment #1
markus_petrux commentedThe 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.
Comment #2
dennys commentedThanks 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.