diff --git a/app/services/danger_zone.py b/app/services/danger_zone.py index 8309591..b44bf91 100644 --- a/app/services/danger_zone.py +++ b/app/services/danger_zone.py @@ -16,12 +16,9 @@ from app.models.fit import Fit, FitNote from app.models.imported_part import ImportedPart from app.models.iso_thread import IsoThread from app.models.manufacturer import Manufacturer -from app.models.part_colour import PartColour -from app.models.part_type import PartType from app.models.scope_info import ScopeInfo from app.models.scope_model import ScopeModel from app.models.static_connection import StaticConnection -from app.models.sub_part_type import SubPartType from app.models.unc_thread import UncThread # Children before the RESTRICT-protected reference tables they point to. diff --git a/app/templates/admin/danger_zone.html b/app/templates/admin/danger_zone.html index 7ed5d6d..30e2724 100644 --- a/app/templates/admin/danger_zone.html +++ b/app/templates/admin/danger_zone.html @@ -8,15 +8,15 @@

Purge database

- Permanently deletes every part, taxonomy entry, attachment point, fit, - and imported part in the database — manufacturers, part colours, part - types, sub part types, scope models, ISO/UNC threads, clamp/static - connections, attachment point names, augmented parts, scope info, - attachment points, fits, fit notes, and imported parts. + Permanently deletes every part, attachment point, fit, and imported + part in the database — manufacturers, scope models, ISO/UNC threads, + clamp/static connections, attachment point names, augmented parts, + scope info, attachment points, fits, fit notes, and imported parts.

Not deleted: users, roles & permissions, refresh - tokens, the audit log, and the OData connection configuration. + tokens, the audit log, the OData connection configuration, and part + taxonomy (part colours, part types, sub part types).

This cannot be undone. Take a database backup first if you might need this data again.