removing editable flag for treeview
adding enum for database fields