I have a custom module with the custom table, When i am doing compilation in some time the table data was completely removing and only the empty data base table is exist.

I created this table using db_schema.xml.

Dose anyone faced the same behaviour like this before? Kindly advice on this.

  • Never faces this behavior, are you sure you don't have some kinds of underground process in observer updating that table ?
    – Claims
    Nov 4, 2022 at 10:48
  • @Claims not exactly some thing related delete table data.
    – Mujahidh
    Nov 4, 2022 at 10:58
  • It's not possible to without background or any other process. So, try to find out first that thing. Nov 4, 2022 at 11:18
  • @RohanHapani true, Will try to find the root cause.
    – Mujahidh
    Nov 4, 2022 at 11:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.