Configuration of database and add categorys table