Collection Type not loading, CORE_STORE getting overwritten

System Information
  • Strapi Version: 3.6.8
  • Operating System: Linux
  • Database: Postgres
  • Node Version: 14.x
  • NPM Version: 7.x
  • Yarn Version: NA

My Collection type screen is not loading for a specific one. If clicked i see console error “TypeError: Cannot read properties of undefined (reading ‘pluginOptions’)”. If i restart my Container/Docker for strapi then it loads first time properly but later it failrs after few minutes. I have noticed that the core_store table record row with “model_def_application::NAME.NAME” is overwritted with contents/columns which I had deleted some type back. I have verified my API folder, which has the latest contents, but still my core_store contents gets overwritten everytime strapi restarts after a while (2-5 mins) with old contents. Not sure from where its referring old data.

I have deleted data from the following tables,
DELETE FROM public.“users-permissions_permission” where controller like ‘%log%’ and type=‘application’
DELETE FROM strapi_permission WHERE subject LIKE ‘%::log%’;
DELETE FROM public.core_store where key like ‘%log%’;