ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS status varchar(255) NOT NULL DEFAULT 'delinquent';

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS entered_at timestamp with time zone NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS released_at timestamp with time zone NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS debt_at_entry numeric(14,2) NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS remaining_debt numeric(14,2) NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS days_overdue integer NOT NULL DEFAULT 0;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS reason varchar(255) NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS creditworthiness_penalty integer NOT NULL DEFAULT 0;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS next_forced_action varchar(255) NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS assets_seized_json jsonb NULL;

ALTER TABLE falukant_data.debtors_prism
ADD COLUMN IF NOT EXISTS public_known boolean NOT NULL DEFAULT false;
