OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

Tags persist if table was deleted and recreated with same name #1589

Open jh-RLI opened 4 months ago

jh-RLI commented 4 months ago

Description of the issue

This could also be a feature: If a user deletes the table and then recreates it under the same name, all tags are still available.

Steps to Reproduce

  1. Create table "test_pers_tags"
  2. Navigate to table detail page
  3. Add a tag
  4. Delete table
  5. Create table "test_pers_tags"
  6. Navigate to table detail page and view tags

Ideas of solution

If we want to change this, we should also delte the table - tag relation.

Context and Environment

Workflow checklist