add fieldmode in databasedesign template