Browse Source

Fix case

middleware_test
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
606f1f97ce
  1. 2
      db_compare.py

2
db_compare.py

@ -327,7 +327,7 @@ def check_uloha():
def check_tema():
old_query = """SELECT text_zadani, text_reseni, typ, c.rocnik_id AS rocnik_id
FROM seminar_problemy
INNER JOIN seminar_cisla as c ON c.id = cislo_zadani_id
INNER JOIN seminar_cisla AS c ON c.id = cislo_zadani_id
WHERE typ IN ('tema', 'serial')
ORDER BY id"""
new_query = """SELECT tema_typ, zad_text.na_web AS text_zadani, res_text.na_web AS text_reseni, rn.rocnik_id AS rocnik_id

Loading…
Cancel
Save