I need to export some data directly from a D7 DB. I'm not that familiar with the Drupal DB schema. Some additional profile fields have been added to users profiles and I would like to export that along with some columns from the users
table.
In this case the job_title
custom field data appears to be stored in the field_data_field_user_job_title
table.
In that table I notice there are columns entity_type
and entity_id
. The value entity_type
is set as user
for all rows in this table.
Does this mean that the entity_id
field for rows in this table where entity_type='user'
can be joined to users.uid
to associate the custom profile data with the correct user record?
users.uid
to theentity_id
column, if theentity_id
column isn't actually auid
and it's actually some other ID