MySQL List ?

Discussion in 'Plugin Development' started by Soekya, Sep 26, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Soekya

    Hello,

    I work on Guild plugin with mySQL and i need to know if i can add multiple uuid in same column ?

    For exemple :

    [​IMG]

    If i can add it to my table, please tell which variable used in type section ?

    Thanks in advance ^^
     
  2. Offline

    mythbusterma

    @Soekya

    Short answer: you don't.

    Long answer: You create another table to allow this duplicity, through a process called "normalization." This table would have two columns, the UUID and a thing to be the owner of.
     
  3. Offline

    Soekya

    Oh, sorry @mythbusterma it's the wrong table :/

    This is the good table !
    [​IMG]

    Can i add it here now ?
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Soekya Not really the way databases work.
    I suggest that you follow the long answer that mythbusterma posted
     
  5. Offline

    mythbusterma

    @Soekya

    Still do the same thing, but with Town or Guild id or whatever and UUID.
     
Thread Status:
Not open for further replies.

Share This Page