ALTER TABLE "investment_opportunities"
ADD COLUMN IF NOT EXISTS "organization_id" integer REFERENCES "organizations"("id");

CREATE INDEX IF NOT EXISTS "invest_opps_org_idx"
ON "investment_opportunities" ("organization_id");
