Skip to content
Eric Holmes edited this page Jun 22, 2016 · 3 revisions

This document describes the general steps and best practices when upgrading to a new version of Empire.

Backup your database!

Some upgrades will contain database migrations. These migrations are automatic, so if any of them fail, the entire upgrade will be rolled back, but it's still a good idea to make a backup before attempting to upgrade Empire.

Migrate the database

The best option is to use the --automigrate flag when running empire server as this will ensure that the schema is always up to date. You can also run migrations manually with empire migrate.