Automatically create linked row in a different table
Use triggers, see here

Create an insert trigger on the user table. In your trigger, create a record on the preferences table, get its id and store it in prefId on user.