Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
591da5991e
commit
05550e1191
@@ -0,0 +1,10 @@
|
||||
-- Add archived_at to the four entity tables
|
||||
ALTER TABLE public.clients ADD COLUMN archived_at timestamptz;
|
||||
ALTER TABLE public.cases ADD COLUMN archived_at timestamptz;
|
||||
ALTER TABLE public.contacts ADD COLUMN archived_at timestamptz;
|
||||
ALTER TABLE public.homeowners ADD COLUMN archived_at timestamptz;
|
||||
|
||||
CREATE INDEX idx_clients_archived_at ON public.clients (archived_at);
|
||||
CREATE INDEX idx_cases_archived_at ON public.cases (archived_at);
|
||||
CREATE INDEX idx_contacts_archived_at ON public.contacts (archived_at);
|
||||
CREATE INDEX idx_homeowners_archived_at ON public.homeowners (archived_at);
|
||||
Reference in New Issue
Block a user