After I extended an exist table in BC and publish it, then I removed the extended table again and published code again, I received this error:
Removing tables is not allowed unless they are temporary or are being moved by migration to another app.
I searched in community but did not find how to fix the issue, but I follow the solution provided here by Kalman Beres:
https://github.com/Microsoft/AL/issues/3479#issuecomment-419914532
And that fixed my issue, But I hope to know how to avoid such an issue in future, and what is the best practice if someone can help.
Thanks in advance,