[51864571] Add ERD and rake task