Migration
Important
In version 2.0.0 the database backend was changed from Storm to Gorm. This means you have to migrate your database. The following steps will guide you through the process.
Migrate from Storm to Gorm
Information
Ensure you have the latest version of the ticker (>= 2.0.0
) service installed.
- Stop the ticker service
-
Configure the new database backend in
config.yml
database: type: "postgres" # postgres, mysql, sqlite dsn: "host=localhost port=5432 user=ticker dbname=ticker password=ticker sslmode=disable"
-
Start the migration
ticker db migrate --storm.path /path/to/storm.db
-
Start the ticker service