Hub 2.12.0: one product uninstalled at a time, stale installs removed, customers archived
- Uninstalls name the product (agent 1.5.0); a whole-church uninstall marks every product of the church on that server removed. Older agents are refused while the church has others. - A second product's uninstall joins one already planned (one export and one uninstall) or gets its own time; the last product removes the whole church. Accounts goes last. - Remove an install from the Hub after 24 hours without a heartbeat (POST .../forget). - Archive and restore customers (migration 20261123090000_customer_archive). - Several addresses for a customer's email and billing email, with a + button. - Statements show R0 invoices' amounts. Vendors contracts 1.16.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Hub 2.12.0: an archived customer is left out of the customer list (and pickers) until it's
|
||||
-- restored; its records, invoices and history stay.
|
||||
ALTER TABLE "Customer" ADD COLUMN "archivedAt" TIMESTAMP(3);
|
||||
@@ -67,6 +67,8 @@ model Customer {
|
||||
// the Hub default (Settings → AI).
|
||||
aiMonthlyCapCents Int @default(0)
|
||||
aiMarkupPercent Int?
|
||||
// Hub 2.12.0: archived (left out of the customer list until restored). Nothing else changes.
|
||||
archivedAt DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
licences Licence[]
|
||||
|
||||
Reference in New Issue
Block a user