fix(migration-041): use 'manual' doc_type instead of config_guide (CHECK constraint)
This commit is contained in:
parent
dfadc8eb4e
commit
4f277df703
@ -112,7 +112,7 @@ ON CONFLICT DO NOTHING;
|
||||
-- Arista EOS Config Guide (applies to all Arista)
|
||||
INSERT INTO product_documents (switch_id, doc_type, title, source_url, is_official, language)
|
||||
SELECT sw.id,
|
||||
'config_guide', 'Arista EOS User Manual',
|
||||
'manual', 'Arista EOS User Manual',
|
||||
'https://www.arista.com/en/support/toi/releases',
|
||||
TRUE, 'en'
|
||||
FROM switches sw JOIN vendors v ON sw.vendor_id = v.id
|
||||
@ -151,7 +151,7 @@ ON CONFLICT DO NOTHING;
|
||||
-- Juniper config guide (all QFX)
|
||||
INSERT INTO product_documents (switch_id, doc_type, title, source_url, is_official, language)
|
||||
SELECT sw.id,
|
||||
'config_guide', 'Juniper QFX Series Config Guide',
|
||||
'manual', 'Juniper QFX Series Config Guide',
|
||||
'https://www.juniper.net/documentation/product/en_US/qfx5000',
|
||||
TRUE, 'en'
|
||||
FROM switches sw JOIN vendors v ON sw.vendor_id = v.id
|
||||
@ -181,7 +181,7 @@ ON CONFLICT DO NOTHING;
|
||||
-- NVIDIA ONYX/Cumulus config guide (all NVIDIA)
|
||||
INSERT INTO product_documents (switch_id, doc_type, title, source_url, is_official, language)
|
||||
SELECT sw.id,
|
||||
'config_guide', 'NVIDIA Cumulus Linux User Guide',
|
||||
'manual', 'NVIDIA Cumulus Linux User Guide',
|
||||
'https://docs.nvidia.com/networking-ethernet-software/cumulus-linux/',
|
||||
TRUE, 'en'
|
||||
FROM switches sw JOIN vendors v ON sw.vendor_id = v.id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user