Deletes unnesecary information from db schema