Restructure database example