1. 10 Jun, 2021 1 commit
  2. 27 Apr, 2021 1 commit
  3. 29 Mar, 2021 1 commit
  4. 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
  5. 09 Feb, 2021 1 commit
  6. 03 Feb, 2021 1 commit
    • Cédric Anne's avatar
      Enhance db:check command · 7dd526f4
      Cédric Anne authored
      - Move code to a dedicated and testable class;
      - Check for indexes differences;
      - Check for table options differences;
      - Adapt checks to DB config, DB server and DB version;
      - Add parameters to adapt checks depending on already ran migrations;
      - Exit with an error code when differences are found;
      - Permit do do a non strict check (do not take care or fields / index orders in table);
      - Call the command after each migration on test suite;
      - Add tests on most relevant cases.
      7dd526f4