database code, eer diagram