I am writing a forum for the company I work for. I am in the middle of creating the database tables and I have set up all my primary keys but I want user_name to be unique so no two users can have the same username when registering.
Could someone shed some light on how this can be done, I have a basic level of knowledge when it comes to SQL.
Thanks!