# Apply and review

Open **Migrations**, select a file with status **Pending to be applied**, and read it before it hits Postgres.

## Review

1. Select the pending migration.
2. Open **SQL Migration** to read the statements.
3. Open **Schema Overview** to see tables and columns that will be added, removed, or changed.

## Apply

Choose **Apply changes to DB**. Fakebase runs pending SQL in journal order.

If several files are pending, select through them to apply the batch. The button shows how many will run.

After [burning a database](https://fakebase.studio/docs/studio-databases.md#burn-a-database) and keeping the files, those migrations become pending again. Apply them here to rebuild the schema on the empty database.

---

## Next steps

- [Migrations](https://fakebase.studio/docs/migrations.md): Keep schema changes as SQL files in your repo, in sync with the database you have open.
- [Schema drift](https://fakebase.studio/docs/schema-drift.md): Capture schema changes that already landed in the database as a migration file.
- [Manage history](https://fakebase.studio/docs/manage-migration-history.md): Restore, bundle, delete, and relink migrations in Fakebase Studio.
