Files
ms1inscription-v5/sql/MSIN-4469-col-lignes-imprimeur.sql

47 lines
1.3 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- MSIN-4469 — Colonne validation « Lignes Imprimeur » (Commande MS1)
-- Prérequis : MSIN-4469-production-excel-dossards.sql
-- Notes : exécution UNIQUEMENT sur dev préprod ; autres env = Navicat structure + sync_static_db
INSERT INTO info (
info_clef,
info_langue,
info_texte,
info_aide,
info_prg,
info_description,
info_trie,
info_actif,
info_option1,
info_option2,
info_option3,
info_creation
)
SELECT
src.info_clef,
src.info_langue,
src.info_texte,
src.info_aide,
'compte.php',
'MSIN-4469',
0,
1,
'',
'',
'',
NOW()
FROM (
SELECT 'bib_v5_production_col_printer_lines' info_clef, 'fr' info_langue,
'Lignes Imprimeur' info_texte,
'Nombre de lignes de longlet Imprimeur (hors lignes vides). Doit égaler la quantité de dossards.' info_aide
UNION ALL SELECT 'bib_v5_production_col_printer_lines', 'en',
'Printer lines',
'Number of rows on the Printer sheet (excluding blank rows). Must match the bib quantity.'
) src
WHERE NOT EXISTS (
SELECT 1
FROM info current_info
WHERE current_info.info_clef = src.info_clef
AND current_info.info_langue = src.info_langue
AND current_info.info_prg = 'compte.php'
);