giorgino
Well-known member
Hi all.
I'm migrating a vB4 board and I have to insert a default value in a custom user field that I created in the new xenforo installation.
Let me explain.
We've the user_field_value table with the three field user_id, field_id and field_value.
I need to populate this table with a default value for each user for field_id='campo' and field_value='dato'.
All the same value for all users, nothing else.
I imagine that a INSERT INTO function should do the job, but unfortunately I'm a MySql newbe.
Can someone help me or give me some directions on this?
Thank you
I'm migrating a vB4 board and I have to insert a default value in a custom user field that I created in the new xenforo installation.
Let me explain.
We've the user_field_value table with the three field user_id, field_id and field_value.
I need to populate this table with a default value for each user for field_id='campo' and field_value='dato'.
All the same value for all users, nothing else.
I imagine that a INSERT INTO function should do the job, but unfortunately I'm a MySql newbe.
Can someone help me or give me some directions on this?
Thank you