Zero-downtime schema migrations

Schema migrations in production are scary. With Xata, they don’t have to be.

Start free
Full text search example

Branching

Test your changes in a branch first before migrating to production.

Learn More

Automatic column backfilling

Define how your data gets backfilled with SQL statements during the migration.

Learn More

Migration history

View all schema changes made since the creation of the database.

Learn More

Built on open source

Schema migrations use pgroll, an open source command-line tool created by Xata, for Postgres databases.

Learn More

Diff your changes

Just like your developer workflow, test your database schema changes in a branch and see a diff of the two.

Add column to table

Stay in control

With simple JSON based migration scripts and your schema history, stay in control of the changes made to your database.

Add column to table

Integrated developer workflow

Schema migrations plug right into your CI/CD development workflow and deploy previews.

Add column to table

Explore more resources

Learn by example

Try out a sample app

Built with Next.js, Chakra UI, and Xata, the sample app will help you learn how to query, paginate and search records with a heavy focus on file attachments.

View source on GitHub
Add column to table

Start free,
pay as you grow

Xata provides the best free plan in the industry. It is production ready by default and doesn't pause or cool-down. Take your time to build your business and upgrade when you're ready to scale.

Free plan includes
  • 10 database branches
  • High availability
  • 15 GB data storage
  • 15 GB search engine storage
  • 2 GB file attachments
  • 250 AI queries per month
Start freeExplore all plans
Free plan includes
  • 10 database branches
  • High availability
  • 15 GB data storage
  • 15 GB search engine storage
  • 2 GB file attachments
  • 250 AI queries per month
Add column to table

Sign up to our newsletter

By subscribing, you agree with Xata’s Terms of Service and Privacy Policy.

Copyright © 2024 Xatabase Inc.
All rights reserved.

Product

RoadmapFeature requestsPricingStatusAI solutionsFile attachments