-- Remove items.hsn_code column; HSN is referenced via hsn_code_id -> hsn_codes master

BEGIN;

ALTER TABLE items
  DROP COLUMN IF EXISTS hsn_code;

COMMIT;

-- Verify:
-- SELECT column_name FROM information_schema.columns
-- WHERE table_name = 'items' AND column_name LIKE '%hsn%';
