how to add the new fields into '$guid'

Hi,

    I want to write a new plugin about ‘register’,but I don't know how to add the new fields into '$guid';

  PS: I hope It can connect with database.

   thank u very much!