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

# How to run safe migrations using feature flags

<View title="Developer" />

<View title="Federal docs" />

<View title="EU docs" />

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

<Frame>
  <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 />
</Frame>
