Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-653

Improve Drop SQL scripts to support previous versions too

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • sir-3.0.0
    • None
    • Indexer
    • None

      Currently, the generated scripts Drop*.sql only uninstall functions and triggers generated by the same version of the indexer. That makes schema change migration difficult because if that step has not been completed with the previous version, it is not possible to uninstall the previous functions and triggers with the new version, and downgrading is not documented either.

      So Drop*.sql should be regenerated with each new version of the indexer, and it should keep previously generated DROP instructions too.

            yvanzo yvanzo
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package
                sir-3.0.0