admin-insights-pages: dashboard customers+revenue (orders.amount), users->tags relation, pause customer (gates alerts), About/What-is-this/Contact pages
This commit is contained in:
@@ -86,3 +86,7 @@ CREATE TABLE IF NOT EXISTS url_shortened (
|
||||
scan_id BIGINT NOT NULL REFERENCES scans(id),
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
-- Phase 5.5 quick wins: customer pause + order amounts (idempotent).
|
||||
ALTER TABLE users ADD COLUMN IF NOT EXISTS paused BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
ALTER TABLE orders ADD COLUMN IF NOT EXISTS amount NUMERIC(10,2) NOT NULL DEFAULT 0;
|
||||
|
||||
Reference in New Issue
Block a user