mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
183fe0a93c
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
5 lines
230 B
SQL
5 lines
230 B
SQL
ALTER TABLE public.owner_ledger_entries
|
|
ADD COLUMN IF NOT EXISTS is_archived boolean NOT NULL DEFAULT false;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_owner_ledger_entries_is_archived
|
|
ON public.owner_ledger_entries (unit_id, is_archived); |