> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to run safe migrations using feature flags

> This video explains how to safely and efficiently run a stage migration and monitor metrics.

> For the complete documentation index, see [llms.txt](/llms.txt). For the full documentation snapshot, see [llms-full.txt](/llms-full.txt).

## Overview

This video explains how to perform a zero-downtime database migration using LaunchDarkly’s migration flags.

Migration can be a risky, high stakes process that disrupts users from their daily workflow. This step-by-step process shows you how to set up a database migration and monitor metrics and errors conveniently on the LaunchDarkly dashboard.

## How to run safe migrations using feature flags

<iframe width="560" height="315" src="https://www.youtube.com/embed/fXfh-BY4Rsk?si=Y0M8GRYrpCmd4kkc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
