Skip to content
Snippets Groups Projects
  1. May 04, 2021
  2. May 03, 2021
  3. Aug 02, 2020
  4. Aug 01, 2020
  5. Mar 02, 2020
  6. Mar 01, 2020
  7. Oct 26, 2019
  8. Sep 05, 2019
  9. Sep 03, 2019
  10. Sep 02, 2019
  11. Jul 31, 2019
  12. Feb 03, 2019
  13. 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
  14. Nov 11, 2018
  15. Jun 17, 2018
  16. Jun 15, 2018
  17. Jan 21, 2018
  18. Jan 16, 2018
  19. Jan 12, 2018
Loading