Skip to content
Snippets Groups Projects
  1. Apr 09, 2021
  2. Mar 22, 2021
  3. Mar 19, 2021
  4. Mar 18, 2021
  5. Mar 09, 2021
  6. Mar 03, 2021
  7. Feb 25, 2021
  8. Feb 24, 2021
    • stvn's avatar
      Merge PR #144 bd03/fix-migration · 1552134f
      stvn authored
      * Commits:
        fix: Manually backfill config_id UUIDs again
      1552134f
    • stvn's avatar
      fix: Manually backfill config_id UUIDs again · 42a9e342
      stvn authored
      The previous backfills handled NULL entries;
      this handles empty strings.
      
      The difficulty here was that since the empty string in an invalid UUID
      (as opposed to None/NULL which is just "blank"), attempts to instantiate
      models would fail, given the invalid data. This meant we couldn't use
      the Django ORM to handle the migration entirely; we need to craft some
      raw SQL to work-around these checks and limitations.
      42a9e342
  9. Feb 23, 2021
  10. Feb 16, 2021
  11. Feb 15, 2021
  12. Feb 08, 2021
  13. Feb 04, 2021
    • stvn's avatar
      fix: Migrate the UUID backfill again · 8b17e4a6
      stvn authored
      To correct the, in our case, single database entry that snuck in without
      a UUID during the schema change.
      
      Steps:
      - Make the field editable
      - Add `config_id` to all models missing it
      - Make the field noneditable again
      8b17e4a6
  14. Jan 29, 2021
  15. Jan 25, 2021
  16. Jan 21, 2021
  17. Jan 20, 2021
    • stvn's avatar
      Merge PR #136 open-craft/kshitij/fix-migrations · 7f3b1503
      stvn authored
      * Commits:
        Fix migration `config_id` conflict.
      7f3b1503
    • Kshitij Sobti's avatar
      Fix migration `config_id` conflict. · 59b7c431
      Kshitij Sobti authored
      A previous PR (#130) added a new unique field with a default value to the
      LtiConfiguration model. Such cases need special handling in migraiton, however
      the previous PR did not include that. This commit fixes the migration to include
      the special handling for new unique fields.
      59b7c431
  18. Jan 19, 2021
  19. Jan 15, 2021
  20. Dec 18, 2020
  21. Dec 17, 2020
    • stvn's avatar
      Skip migration when no LTI XBlock location exists · 9f326ee8
      stvn authored
      otherwise this blows up, trying to migrate a record with no location
      (the modulestore lookup throws).
      
      Presumably this isn't (wasn't?) an issue in prod already, right?
      But I did hit this in my devstack, having previously created an
      LtiConfiguration record via Django Admin (without a location).
      9f326ee8
  22. Dec 02, 2020
  23. Dec 01, 2020
  24. Nov 20, 2020
Loading