Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Update upgrading.mdx #155

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions operations/upgrading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The release notes on GitHub for each Flipt release should signify whether it doe
You can find the releases and release notes on [GitHub](https://github.com/flipt-io/flipt/releases).

Before upgrading your Flipt instances to a new version, you may need to run the `flipt migrate` command against your database.

The Flipt binary is self-contained and has all necessary migrations baked in.
You should use the version of Flipt you're attempting to upgrade to.

Expand Down Expand Up @@ -54,13 +55,13 @@ Go Version: go1.20.3
Once you have identified the version you have installed is the target version you are upgrading to, you can run `flipt migrate` (In this instance I am upgrading to Flipt v1.20.0).

```sh
$ flipt migrate --config /etc/flipt/default.yml
$ flipt migrate
2023-04-13T15:35:17Z DEBUG using driver {"driver": "sqlite3"}
2023-04-13T15:35:17Z DEBUG migrations complete
```

Now you can update your running instance(s) of Flipt to match the same version.
We design our migrations to be forward compatible with older Flipt server versions, so it's safe for you to keep running Flipt while the migrations are run and after they have finished.
We design our migrations to be compatible with older Flipt server versions, so it's safe for you to keep running Flipt while the migrations are run and after they have finished.

## Downgrade Process

Expand Down