Fixed foreign key type issue. Using uuid for user id generation.