Business central apps Issue while changing var record for existing app

Hi All,

we have developed app X then we published app in market place, now we modify this app some tables but getting error when run alvalidation time.
for example
[EventSubscriber(ObjectType::Table, Database::Vehicle, ‘OnAfterValidateEvent’

now i changed table “XYZ Vehicle” then getting error while run validation
[EventSubscriber(ObjectType::Table, Database::“XX Vehicle”, ‘OnAfterValidateEvent’

please find the error screen shot please , any suggestion for this archive

You cannot change this because otherwise you will break someone who is using your EventSubscriber. It is a different table.
You have to obsolete the EventSubscriber and create a new one.
After couple of releases you can remove the obsoleted EventSubscriber.

thanks Bert, you are correct, i did same thing.