moved DB structure to new format