new database with category table