# \[BUG\] Historian tag not retired in database after tag deletion

**URL:** <https://forum.inductiveautomation.com/t/bug-historian-tag-not-retired-in-database-after-tag-deletion/99683>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [December 11, 2024, 10:32am UTC](https://forum.inductiveautomation.com/t/bug-historian-tag-not-retired-in-database-after-tag-deletion/99683 "2024-12-11T10:32:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulmurat](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@paulmurat](https://forum.inductiveautomation.com/u/paulmurat)\
**Post date:** [December 11, 2024, 10:32am UTC](https://forum.inductiveautomation.com/t/bug-historian-tag-not-retired-in-database-after-tag-deletion/99683/1 "2024-12-11T10:32:19Z")

</div>

Hi,  
I am facing a bug with tag historian module:

- I created historical tag in a folder in UDT definition
- I instantiate it and see it in the sqlth\_te table with a timestamp on "created" column and NULL in "retired" column.

If I delete the **tag** in UDT : its row is updated and "created" column has now a timestamp  
But if I delete any **parent object of the tag** : Nothing is updated and "retired" column is still NULL

It's a bit annoying because there are still tags that don't exist in the tree structure of powerChart component.
