Is there any way to change an inheriting entity's type (in the DB) to a different entity type?
Asked
Active
Viewed 356 times
1 Answers
2
Convert entity with uid
from OldType
to NewType
:
await em.update(OldType, { uid: uid }, {[entityTypeColumnName]: 'NewType'})

Ella
- 75
- 5