Commit Graph

8 Commits (28ceb7c57e1fcdaf541ad89e30928faa4d7af8f0)

Author SHA1 Message Date
Holger Brunn 28ceb7c57e
[ADD] [database_cleanup] migrate to 11.0 2023-10-30 13:35:26 -04:00
Eric Antones 73cb3aa9d2
[MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
2023-10-30 13:35:25 -04:00
Holger Brunn 1af5b66cf6
[ADD] allow creating missing indexes and purging properties (#736)
* [ADD] allow creating missing indexes

* [FIX] tests; installation

* [ADD] allow purging properties

* [ADD] missing file

* [ADD] test purging properties

* [ADD] missing parent_id for menu entry

* [FIX] don't delete too many and wrong properties
2023-10-30 13:35:25 -04:00
Holger Brunn 617a991b88
[ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2023-10-30 13:35:23 -04:00
Holger Brunn 5b31147273
[ADD] allow to clean up menus 2023-10-30 13:35:23 -04:00
Anthony Muschang e5e76d0e94
[CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
2023-10-30 13:35:22 -04:00
Stefan Rijnhart b8e24140f7
[FIX] Don't remove uid field from wkf_instance, which is written in
raw SQL query (but never read afterwards). Workaround for
    lp:1277899

[FIX] Preserve dangling workflow table which is in use

[RFR] Group models per table when detecting columns to purge
      to prevent problems with models sharing the same table

[ADD] Allow purging of dangling data entries

[FIX] Data purging now working

[IMP] Docstrings

[FIX] Label
[FIX] Catch attempt to unlink field from nonexisting model

[RFR] Flake8
2023-10-30 13:35:22 -04:00
Stefan Rijnhart cad5ae1275
[ADD] Database cleanup module 2023-10-30 13:35:21 -04:00