1. 30 Jun, 2021 1 commit
    • Cédric Anne's avatar
      Fix inconsistency on date fields and add index on name fields (#9200) · 8fc5d4f6
      Cédric Anne authored
      * Rename db check commands
      
      * Check DB schema consistency for date fields
      
      * Add indexes on "name" fields
      
      * Rename some date fields to improve naming consistency
      
      * Fix search option id migration
      
      * Add test on name indexing
      
      * Add tests on DatabaseSchemaConsistencyChecker
      
      * Fix missing renaming
      8fc5d4f6
  2. 21 Jun, 2021 1 commit
  3. 15 Feb, 2021 1 commit
    • Cédric Anne's avatar
      Check for missing / misnamed / useless database keys · d5efef09
      Cédric Anne authored
       - Detect missing keys corresponding to foreign keys
       - Detect missing keys on is_* fields
       - Detect missing keys on date fields
       - Detect misnamed keys (optionnal)
       - Detect useless keys that are included in a larger key (optionnal)
       - Add missing keys
       - Drop useless keys
      d5efef09
  4. 10 Feb, 2021 1 commit