user_id was bigger than integer max -> primary key for new users collided as they all were set to max. Foxed by making user_id to string data type.
Fixed downgrade funcion.
user_id in user table was to be fixed, not in tweeet table.
Made it easy to lookup language with a function.
New functions update friends/users in database.