Documentation
¶
Overview ¶
Command migrator prepares the PostgreSQL of xtrader, the database of configs/config.yml, the one of the controller:
# the migrations of sql/migrations, then the seeds of sql/seeds (the # Telegram bot off, the prompts and the agents of a new database, off and # without their secrets, the news off), run again harmlessly; then the # tokens of the calendar the agents kept each carried to the news go run ./cmd/migrator -config configs/config.yml up
The settings live in the database only: the agents, their secrets, the users and Telegram are changed on the page of the settings of the dashboard. The controller never migrates: it checks the version of the schema when it starts, and asks for this command when it is behind.
Click to show internal directories.
Click to hide internal directories.