Diff database structure