-- Seed motie_heads_target from app/web/pages/gov/motie/heads.py (MOTIE_ORDER_POS)
-- Run this in Supabase SQL Editor

BEGIN;
INSERT INTO public.motie_heads_target(unit, expected_pos, ord, indent) VALUES
  ('장관실','장관',   1, 0),
  ('대변인','대변인',   2, 1),
  ('홍보담당관','과장',   3, 2),
  ('홍보지원팀','팀장',   4, 2),
  ('감사관','감사관',   5, 1),
  ('감사담당관','과장',   6, 2),
  ('제1차관','1차관',   7, 0),
  ('운영지원과','과장',   8, 1),
  ('기획조정실','실장',   9, 1),
  ('정책기획관','국장',  10, 2),
  ('기획재정담당관','과장',  11, 3),
  ('혁신행정담당관','과장',  12, 3),
  ('규제개혁법무담당관','과장',  13, 3),
  ('정보관리담당관','과장',  14, 3),
  ('정보보호담당관','과장',  15, 3),
  ('비상안전기획관','국장',  16, 2),
  ('산업재난담당관','과장',  17, 3),
  ('산업정책실','실장',  18, 1),
  ('산업정책관','국장',  19, 2),
  ('산업정책과','과장',  20, 3),
  ('산업일자리혁신과','과장',  21, 3),
  ('산업환경과','과장',  22, 3),
  ('산업인공지능혁신과','과장',  23, 3),
  ('기업정책팀','팀장',  24, 3),
  ('산업공급망정책관','국장',  25, 2),
  ('산업공급망정책과','과장',  26, 3),
  ('소재부품장비개발과','과장',  27, 3),
  ('철강세라믹과','과장',  28, 3),
  ('화학산업팀','팀장',  29, 3),
  ('제조산업정책관','국장',  30, 2),
  ('기계로봇제조정책과','과장',  31, 3),
  ('자동차과','과장',  32, 3),
  ('조선해양플랜트과','과장',  33, 3),
  ('엔지니어링디자인과','과장',  34, 3),
  ('첨단민군혁신지원과','과장',  35, 3),
  ('첨단산업정책관','국장',  36, 2),
  ('반도체과','과장',  37, 3),
  ('배터리전기전자과','과장',  38, 3),
  ('바이오융합산업과','과장',  39, 3),
  ('섬유탄소나노과','과장',  40, 3),
  ('디스플레이가전팀','팀장',  41, 3),
  ('산업기반실','실장',  42, 1),
  ('산업기술융합정책관','국장',  43, 2),
  ('산업기술정책과','과장',  44, 3),
  ('산업기술개발과','과장',  45, 3),
  ('산업기술시장혁신과','과장',  46, 3),
  ('규제샌드박스팀','팀장',  47, 3),
  ('지역경제정책관','국장',  48, 2),
  ('지역경제총괄과','과장',  49, 3),
  ('지역경제진흥과','과장',  50, 3),
  ('입지총괄과','과장',  51, 3),
  ('중견기업정책관','국장',  52, 2),
  ('중견기업정책과','과장',  53, 3),
  ('중견기업지원과','과장',  54, 3),
  ('유통물류과','과장',  55, 3),
  ('제2차관','2차관',  56, 0),
  ('에너지정책실','실장',  57, 1),
  ('에너지정책관','국장',  58, 2),
  ('에너지정책과','과장',  59, 3),
  ('에너지효율과','과장',  60, 3),
  ('에너지기술과','과장',  61, 3),
  ('전력정책관','국장',  62, 2),
  ('전력산업정책과','과장',  63, 3),
  ('전력시장과','과장',  64, 3),
  ('신산업분산에너지과','과장',  65, 3),
  ('전력계통혁신과','과장',  66, 3),
  ('재생에너지정책관','국장',  67, 2),
  ('재생에너지정책과','과장',  68, 3),
  ('재생에너지산업과','과장',  69, 3),
  ('재생에너지보급과','과장',  70, 3),
  ('수소경제정책관','국장',  71, 2),
  ('수소경제정책과','과장',  72, 3),
  ('수소산업과','과장',  73, 3),
  ('에너지안전과','과장',  74, 3),
  ('자원산업정책국','국장',  75, 1),
  ('자원안보정책과','과장',  76, 2),
  ('석유산업과','과장',  77, 2),
  ('가스산업과','과장',  78, 2),
  ('석탄산업과','과장',  79, 2),
  ('광물자원팀','팀장',  80, 2),
  ('원전산업정책국','국장',  81, 1),
  ('원전산업정책과','과장',  82, 2),
  ('원전환경과','과장',  83, 2),
  ('원전지역협력과','과장',  84, 2),
  ('원전전략기획관','국장',  85, 1),
  ('원전수출진흥과','과장',  86, 2),
  ('원전수출협력과','과장',  87, 2),
  ('통상교섭본부장실','통상교섭본부장',  88, 0),
  ('통상차관보','통상차관보',  89, 1),
  ('통상정책국','국장',  90, 1),
  ('통상정책총괄과','과장',  91, 2),
  ('미주통상과','과장',  92, 2),
  ('구주통상과','과장',  93, 2),
  ('중남미대양주통상팀','팀장',  94, 2),
  ('신통상전략지원관','국장',  95, 1),
  ('신통상전략과','과장',  96, 2),
  ('디지털경제통상과','과장',  97, 2),
  ('기후에너지통상과','과장',  98, 2),
  ('통상협력국','국장',  99, 1),
  ('통상협력총괄과','과장', 100, 2),
  ('동북아통상과','과장', 101, 2),
  ('아주통상과','과장', 102, 2),
  ('중동아프리카통상과','과장', 103, 2),
  ('통상교섭실','실장', 104, 1),
  ('자유무역협정정책관','국장', 105, 2),
  ('자유무역협정정책기획과','과장', 106, 3),
  ('자유무역협정이행과','과장', 107, 3),
  ('통상협정활용과','과장', 108, 3),
  ('인도태평양통상기획팀','팀장', 109, 3),
  ('자유무역협정교섭관','국장', 110, 2),
  ('자유무역협정협상총괄과','과장', 111, 3),
  ('자유무역협정상품과','과장', 112, 3),
  ('자유무역협정서비스투자과','과장', 113, 3),
  ('자유무역협정무역규범과','과장', 114, 3),
  ('다자통상법무관','국장', 115, 2),
  ('통상법무기획과','과장', 116, 3),
  ('세계무역기구과','과장', 117, 3),
  ('다자통상협력과','과장', 118, 3),
  ('통상분쟁대응과','과장', 119, 3),
  ('무역투자실','실장', 120, 1),
  ('무역정책관','국장', 121, 2),
  ('무역정책과','과장', 122, 3),
  ('무역진흥과','과장', 123, 3),
  ('수출입과','과장', 124, 3),
  ('투자정책관','국장', 125, 2),
  ('투자정책과','과장', 126, 3),
  ('투자유치과','과장', 127, 3),
  ('해외투자과','과장', 128, 3),
  ('무역안보정책관','국장', 129, 2),
  ('무역안보정책과','과장', 130, 3),
  ('무역안보심사과','과장', 131, 3),
  ('기술안보과','과장', 132, 3),
  ('국가기술표준원','원장', 133, 1),
  ('원장실','실장', 134, 2),
  ('지원총괄과','과장', 135, 2),
  ('표준정책국','국장', 136, 2),
  ('표준정책과','과장', 137, 3),
  ('국제표준협력과','과장', 138, 3),
  ('산업표준혁신과','과장', 139, 3),
  ('전기전자정보표준과','과장', 140, 3),
  ('기계융합산업표준과','과장', 141, 3),
  ('바이오화학서비스표준과','과장', 142, 3),
  ('국제표준화기구전략대응팀','팀장', 143, 3),
  ('제품안전정책국','국장', 144, 2),
  ('제품안전정책과','과장', 145, 3),
  ('제품시장관리과','과장', 146, 3),
  ('제품안전정보과','과장', 147, 3),
  ('전기통신제품안전과','과장', 148, 3),
  ('생활어린이제품안전과','과장', 149, 3),
  ('적합성정책국','국장', 150, 2),
  ('시험인증정책과','과장', 151, 3),
  ('적합성평가과','과장', 152, 3),
  ('인증산업진흥과','과장', 153, 3),
  ('계량측정제도과','과장', 154, 3),
  ('기술규제대응국','국장', 155, 2),
  ('기술규제정책과','과장', 156, 3),
  ('무역기술장벽협상과','과장', 157, 3),
  ('기술규제조정과','과장', 158, 3),
  ('기술규제협력과','과장', 159, 3),
  ('무역위원회','위원장', 160, 1),
  ('상임위원','상임위원', 161, 2),
  ('무역조사실','국장', 162, 2),
  ('무역구제정책과','과장', 163, 3),
  ('산업피해조사과','과장', 164, 3),
  ('덤핑조사과','과장', 165, 3),
  ('덤핑조사지원과','과장', 166, 3),
  ('불공정무역조사과','과장', 167, 3),
  ('판정지원과','과장', 168, 3),
  ('광업등록사무소','소장', 169, 1),
  ('등록팀','팀장', 170, 2),
  ('심사팀','팀장', 171, 2),
  ('동부광산안전사무소','소장', 172, 1),
  ('중부광산안전사무소','소장', 173, 1),
  ('서부광산안전사무소','소장', 174, 1),
  ('남부광산안전사무소','소장', 175, 1),
  ('전기위원회','위원장', 176, 1),
  ('사무국','사무국장', 177, 2),
  ('경제자유구역기획단','단장', 178, 1),
  ('정책기획팀','팀장', 179, 2),
  ('혁신지원팀','팀장', 180, 2),
  ('서비스투자지원팀','팀장', 181, 2),
  ('개발투자지원팀','팀장', 182, 2),
  ('마산자유무역지역관리원','원장', 183, 1),
  ('관리과','과장', 184, 2),
  ('수출산업과','과장', 185, 2),
  ('투자홍보과','과장', 186, 2),
  ('군산자유무역지역관리원','원장', 187, 1),
  ('관리과','과장', 188, 2),
  ('수출산업과','과장', 189, 2),
  ('비상계획과','과장', 190, 2),
  ('대불자유무역지역관리원','원장', 191, 1),
  ('관리과','과장', 192, 2),
  ('수출산업과','과장', 193, 2),
  ('동해자유무역지역관리원','원장', 194, 1),
  ('율촌자유무역지역관리원','원장', 195, 1),
  ('김제자유무역지역관리원','원장', 196, 1),
  ('관리과','과장', 197, 2),
  ('수출산업과','과장', 198, 2),
  ('울산자유무역지역관리원','원장', 199, 1),
  ('관리과','과장', 200, 2),
  ('수출산업과','과장', 201, 2)
ON CONFLICT (ord) DO UPDATE SET unit=excluded.unit, expected_pos=excluded.expected_pos, indent=excluded.indent;
COMMIT;
