ALTER TABLE public.bank_accounts ADD COLUMN IF NOT EXISTS next_check_number integer NOT NULL DEFAULT 1001;