We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31037
    • 358 Posts
    Hi, a simple question:

    In the web_user_attributes table there are two columns that always seems to have the same value: "id" and "internalKey".

    But to be really sure, which one of those columns *always* contains the user id?

    Need to know it when updating values in that table.

    Thanks! smiley
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      internalKey is the actual user ID. The "id" is the id of that particular record in the table, which usually will be the same as the user, but since it’s inserted automatically by auto_increment, it doesn’t have to be.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 31037
        • 358 Posts
        Thank you smiley