Skip to content
Snippets Groups Projects
  1. Apr 30, 2021
  2. Mar 18, 2021
  3. Jul 31, 2020
  4. Jul 26, 2020
  5. Jul 21, 2020
  6. Jun 17, 2020
  7. Jun 03, 2020
  8. Mar 26, 2020
  9. Mar 25, 2020
  10. Mar 02, 2020
  11. Dec 28, 2019
  12. Sep 08, 2019
  13. Jun 25, 2019
  14. Jun 20, 2019
  15. May 15, 2019
  16. Feb 24, 2019
  17. Feb 03, 2019
  18. Nov 17, 2018
  19. Nov 12, 2018
    • Travis Ralston's avatar
      [MAJOR MIGRATION] Initial structure for a concept of "datastores" · c2bc340c
      Travis Ralston authored
      **Caution**: This is a major migration that changes how files are tracked within the database. Although tested to ensure things won't go wrong, there is the possibility of something going haywire. It is recommended to run the following database commands before upgrading:
      
      CREATE TABLE media_backup AS TABLE media;
      CREATE TABLE thumbnails_backup AS TABLE thumbnails;
      
      In the event you need to roll back, run the following:
      DROP TABLE media;
      DROP TABLE thumbnails;
      CREATE TABLE media AS TABLE media_backup;
      CREATE TABLE thumbnails AS TABLE thumbnails_backup;
      DELETE FROM gomigrate WHERE migration_id = 7;
      
      This will cause any files uploaded between upgrading and rolling back to be lost.
      
      NOTE: The migration will take a while and runs on the first access of a file. If you have a lot of files, this could take a while.
      
      -----
      
      Fixes https://github.com/turt2live/matrix-media-repo/issues/106
      Step towards https://github.com/turt2live/matrix-media-repo/issues/47
      c2bc340c
  20. Jun 17, 2018
  21. Jun 15, 2018
  22. Mar 21, 2018
  23. Mar 20, 2018
  24. Jan 21, 2018
Loading