Automate table fill

0

I have a table with the following structure: id - email - activation_key

I need to populate the activation_key column with a random key (I already have the script to create this key), only it's type, 200 lines, how can I go populating each one with its random activation key (can not be repeated) ?

I tried with while, but it did not work and I ended up letting it go.

    
asked by anonymous 20.07.2018 / 20:51

0 answers