[MM-42167] Add configuration tables to migration system (#19671)

* add configuration tables to migration system

* config: move config migrations into new system completely

* add mysql specific bits

* use helper db instance instead

* fix typo

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2022-03-08 15:07:37 +03:00
коммит произвёл GitHub
родитель 4da27d8e30
Коммит e49cc0313a
15 изменённых файлов: 632 добавлений и 50 удалений

Просмотреть файл

@@ -302,6 +302,9 @@ migrations-bindata: ## Generates bindata migrations
@echo Generating bindata for migrations
$(GO) generate $(GOFLAGS) ./db/migrations/
@echo Generating bindata for configuration migrations
$(GO) generate $(GOFLAGS) ./config/migrations/
filestore-mocks: ## Creates mock files.
$(GO) install github.com/vektra/mockery/...@v1.1.2
$(GOBIN)/mockery -dir shared/filestore -all -output shared/filestore/mocks -note 'Regenerate this file using `make filestore-mocks`.'