bkn-migration
v1.0.6
Published
npm install --global bkn-migration
Downloads
3
Readme
bkn-migration
Установка:
npm install --global bkn-migration
Настройка
В корне проекта нужно разместить файл настроек: mg-config.yaml
Пример:
db:
host: localhost
user: UserName
password: secret
port: 3306
path:
folder: data
Запуск
migration dbName rgr
rgr - имя базы данных (обязательный параметр)
| Параметр | Описание | Обязательный | |:--------:|:---------------------------------------------------------------------------------------------------------:|:------------:| | dbName | название база данных | да | | git | автоматическая загрузка на гит, используется текущая ветка(пользователь git должен быть авторизован) | нет |