Because you have a uniqueness constraint on `user_name`, I'd do a sequence here, so you're always guaranteed to have a valid username whenever you use the factory to create a new user.