fix(db-tools): resolve REINDEX transaction error by executing directly via pg client, and dynamically support all database tables in integrity dashboard

This commit is contained in:
DanielS
2026-07-03 14:01:27 +02:00
parent 38651037bc
commit 90ec351d96
3 changed files with 79 additions and 12 deletions

View File

@@ -20,12 +20,7 @@ interface TableStatus {
}
interface IntegrityData {
tables: {
profiles: TableStatus;
end_customers: TableStatus;
pos_modules: TableStatus;
licenses: TableStatus;
};
tables: Record<string, TableStatus>;
errors: {
foreign_keys: number;
};