PASS Summit 2027: North America and Europe|Register now
See a full demo of Flyway Enterprise

Flyway Enterprise - Full Demonstration

Chapter 1: Intro

Total steps: 7

1. Flyway Enterprise

Everything you need to version-control, automate and govern schema changes across your database estate.

2. Welcome to your full Flyway Enterprise walkthough

Flyway is the only tool you need from making a change in development, all the way to deploying to your Production Estate. As such, this walkthrough is broken down into specific chapters.

3. Version Control

This showcases how we can pull new changes developers have made into version control, with a clear and auditable change log.

4. Auto Script Generation

This will cover using Flyway Enterprise to generate deterministic, standardised deployment scripts based on the changes made to source control.

5. Repeatable Deployments

This will cover using Flyway to track, report and deploy any and all deployment scripts needed for your estate.
Looking at approvals, testing and builds, change impact reports, drift checks and scaling deployments to be able to automate your releases in a governed approach.

6. AI Integration

This will cover how you can plug Flyway's MCP and AI capabilities into your workflows.
This reduces onboarding, streamlines developers, and allows AI enhanced coding.

7. Enjoy the demo!

Click Next to start the full walkthrough! If you only care about specific parts of the process, the Chapters button is always available in the bottom left to skip ahead or rewind to the bits you really care about!

Chapter 2: Version Control

Total steps: 20

1. Like any good DB DevOps story, we begin by making changes to our Dev environment, and getting them into version control.

2. Let's start by making a change. Make it wherever you work today. I'm using SSMS.

This change depends on another object, but we can trust Flyway to understand ordering, and risk.

3. Step 3

4. Flyway supports changes to both schema (DDL) and data (DML).

5. Flyway encourages short, frequent commits to version control.

When the developer finishes, they can use the Flyway UI, CLI, or MCP to feed those changes in.

6. When they're ready, developers can open Flyway Desktop to visualize their changes and commit them to source control.

7. Flyway compares the development database against what's in source control.

8. It shows the differences between the database objects and what's in source control.

9. This one is a new object that doesn't exist in version control yet.

10. Choose which objects to commit, and leave the rest in development until they're ready to share.

11. Flyway flags any missing dependencies, so nothing important gets left behind.

12. Flyway writes all the version control files needed, which frees up developers for more useful work.

13. AI can help write clearer commit messages.
Flyway connects directly to your repository, so you can commit and push from here.

14. By integrating with your Repositories, you can view the full commit history anyone has made inside the UI!

15. Flyway works with any CI/CD platform, so use whichever you prefer.

16. Branching policies keep deployments safe, with gates and approvals set up the way you want them.

17. Flyway keeps a clear, auditable log of every change to the database and who made it.

18. The schema model lets you contribute new code and see a stateful view of every object.

19. Objects are grouped by type, giving you a stateful overview of the development database.

20. Easy to edit.

Easy to visualize.

Chapter 3: Script Generation

Total steps: 16

1. Script Generation

Turning the developers' hard work into deterministic deployment scripts automatically.

Less risk, with no more manual scripting, freeing up developers to spend time on more valuable work.

2. Once the development work is done, it's time to generate deployment scripts.

3. Flyway compares the state of version control against your existing deployment scripts and works out what belongs in the next release.

4. Click an object to see the impact of including it in the next deployment script.

5. This object is new, so it isn't in any deployment script yet.

6. This one modifies an existing object instead of creating something new.

7. Include all objects or only some of them in the next deployment script.

8. When you have decided, click Generate Migrations to turn your work into deployment scripts automatically.

9. Flyway writes the forward and undo scripts for the objects you select, which saves time and makes each deployment safer.

10. Custom rules let you set global code quality standards, so feedback comes early and only good code gets deployed.

11. In this scenario, the rules block 'SELECT *'.
You can feed violations back to developers, and even block deployments that include them.

12. Early feedback helps developers improve code quality without extra effort.

13. Step 13

14. Once it's fixed, code review runs again to qualify the script.
You can mark any pending issues as "noQA" to push them through to a human review.

15. You can also test scripts locally before pushing, which saves time wasted on faulty pull requests.

16. These scripts are ready for a pull request (PR), which is how changes get sent for review.
Developers can go back to new work without any manual steps.

Chapter 4: Repeatable Deployment

Total steps: 40

1. Repeatable Deployments

All deployment scripts being tracked, versioned and safely deployed using the Flyway Engine. Full audit reports, drift checks, code review and more.

Making the life of a DBA much safer, and scaling into your growing estate.

2. With a new deployment script contributed, it's time to think about how to deploy it.

3. Each deployment target is its own environment, and Flyway manages the tracking and deploying for each one.

4. Flyway tracks every migration script, every deployment, and every operation on each database you have.

Removing the need to track or deploy manually.

5. Flyway provides the commands to deploy all scripts or just specific ones, without you getting your hands dirty.

6. Flyway then provides all commands needed to deploy all scripts, or specific scripts as desired without having to get your hands dirty.

7. Flyway can also roll back deployments on each database.
By default, the undo command rolls back just the last version applied.

8. Step 8

9. When you want more control, a wide range of extra parameters lets you shape the release.

Out-Of-Order deployments, cherryPicking and much, much more are available to customize your deployments!

10. Let's instead use 'CherryPick' to gain more control over the rollback

11. Let's see how these commands and features could build out a CI/CD process!

12. Most teams review new migration scripts through a pull request (PR) into a release branch.

Let's push our script and open one.

13. Our pipelines run on a different branch, so a pull request is how the new scripts get there.

This means only approved scripts can be deployed!

14. The PR shows the schema model changes, plus the scripts Flyway generated for the release.

15. Before anyone reviews by hand, Flyway can run an automated build to check the changes.

16. If the build fails, developers get feedback quickly and nobody wastes time on a manual review.

You can also block the merge when the build fails.

17. The build tests our scripts and generates visual reports that show the impact.

18. Making sure each version deploys, and rollsback.

19. Flyway can run extra checks too. Here, those are:

  1. Code quality against your own standards.
  2. Impact reports.
  3. Unit tests you can customize.

20. Failures can block the merge, and reviewers can spend their time on changes that already pass the basics.

Once all the automated tests have passed, and a human approves we can think about deploying to our live Databases.

21. The release pipeline triggered automatically after the merge, but you choose the flow and triggers that suit you.

22. Using your CI/CD tool makes it easier to see earlier deployments and current stages.

It also makes deployments more reliable and repeatable.

23. In this setup, we build one more time to check for any alterations.
Then we deploy to all Test and Prod databases.

24. Any build failure can stop live deployments.

Flyway also checks script checksums, so neither AI nor bad actors can change your scripts after the build.

25. Each live deployment works like this:

  • 1: Create a tailored report for each database.
  • 2: Report the impact on every object being changed or created.
  • 3: Check code quality.
  • 4: Check the database is in sync, and report any drift.

26. Here's the report for the Test deployment.

If two databases are in different states, you get two different reports.

27. This report is specific to our Test database. It shows that 3 objects were touched, and that there's some drift between Test and Production.

28. You can see which objects were altered, and clicking an object opens a deeper summary.

29. Visual Impact reports per environment makes it clear what is happening, without forcing a line by line reading of the script.

30. This object is new, so you see the full difference before and after the deployment.

31. Checking for drift matters. Here, a hotfix stored procedure in Test was never versioned or deployed anywhere else.

So we can understand any differences between databases, and decide if it is still safe to release.

In this scenario, our drift is seperate from our Changes, so the deployment can still go ahead.

32. You decide what to do about drift.

Flyway can help deploy it to other environments, or remove it and bring Test back in line.

33. Redgate recommends checking the Production report before you deploy.
The pipeline pauses for approval, so you can review the impact and the state of Production.
Then you decide whether to go ahead.

34. The Production report follows the same format as the Test one, so you know where to look.

35. Every database can be different, so each target gets its own report.

36. This time, 3 objects are touched and there's no drift.

That's what you want to see before deploying to Production.

37. This report also makes it easier to audit Production later and see what changed.

38. Check that every change matches what you expected.

39. If you're happy, let's finish the deployment.

40. Flyway works out what needs to be deployed and runs it in a transaction where possible, which makes your life easier.

Chapter 5: MCP + AI

Total steps: 15

1. Using The Flyway MCP

Worried about changing too much? How will the developers learn a new tool?

Why not meet them where they like to work, and make use of the Flyway MCP.

2. Instead of using Flyways GUI, lets plug Flyway's MCP into our developers terminal of choice.

Making using Flyway easier, but also integrating and revising work with AI much safer and easier too.

3. Let's make some new changes to our development environment to showcase how the MCP can help streamline using Flyway.

4. Remember we don't like 'Select * FROMS'

So the MCP + AI should help us quickly refactor.

5. Instead of using the Flyway UI, we can equip users with an MCP to make using the tool easier, and integrate with your AI tool of choice.

The demo uses Claude Code, but you might want to use a different terminal.

6. Let's make some new changes to our development environment to showcase how the MCP can help streamline using the Flyway

7. I am telling my AI to use Flyway to rapidly:

  1. Put my new objects inside source control.
  2. Turn into a deterministic migration script using Flyway, following Global set standards.
  3. Review the code, against rules set by the buisness

All without needing to learn a new UI, or toolset.

8. Flyway is invoked for the developer, and we can see new source control files for the objects created/changed.

9. Once source control was updated, the MCP then created both a Forward deployment script, and an Undo script for the changes made.

Both of these are deterministic, made by Flyway's Engine NOT your AI model.

10. Finally, Flyway's MCP checks the script locally to make sure there are no hallucinations via AI, AND that the script follows all standards set by the company.

11. Flyway spotted that the developer did both:

  • Select * FROM statements
  • Created tables without Primary Keys

We set that these types of changes are not allowed, so Flyway highlighted to the developer that its unlikely to get approved.

12. Here the developer can now either:

  • Fix the objects in Source Control themselves
  • Get AI to fix the source control objects.

Once done, the MCP can rapidly make a replacement script, and review it once more.

Shortening the feedback loop, and make code revisions simple.

13. Lets get the AI to fix the object files in source control, then the MCP to make a new deterministic script.

14. In less than a minute we got:

  • Fixed issues in source control
  • New Deployment Scripts
  • All Code Reviews Now Passing

15. This is but one way we could utilise the MCP.

It could run Locally, it could run it pipelines, it could run Agentically.

With Flyway, we make using AI safe and governed for all buisnesses.

Chapter 6: What Next?

Total steps: 6

1. That's the demo!

This is but one way we could use Flyway, the next step is working out how this would work for you!

But don’t worry, we are here to help! Click Next to see what you could do now!

2. We're here to help you improve your database DevOps.

3. Our free online courses let you get hands-on with the tool.

4. We also have articles, forums, and free in-person community events.

5. Want to get hands-on?

Try Flyway Autopilot.
It gives you a free one-month trial and sets up a sandbox environment, so you can get everything running in under 30 minutes.

6. Or talk to us directly.

We work at your pace and we're happy to answer questions.
Reach out for a tailored demo, and we can show you how Flyway fits your setup.

We hope you enjoyed the overview and look forward to speaking soon.

See it running in your pipeline

Try Flyway Enterprise free for 28 days

Start your free trial

We're here to help

0800 028 0309

Whether you want more details about Redgate Flyway, a demo or information on best practices – get in touch with us.

The industry standard tools for over 25 years

Redgate has specialized in database software for over 25 years. Our products are used by 92% of the Fortune 100. 200,000 customers rely on Redgate worldwide.

World-class support

Redgate offers comprehensive documentation and a friendly, helpful support team. An average 87% of customers rate our support 'Excellent'.

Loading form...