Search packages, repositories and app categories

Package detailsv0.3.0

migrant

A simple database schema migration tool. Supports SQLite and PostgreSQL, can read migration scripts from multiple sources.

AndroidiOSLinuxmacOSWebWindows
30-day downloads
928
Likes
9
Pub points
150

Install package

flutter pub add migrant

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Migrant is a lightweight database migration tool for Flutter apps, designed to manage schema changes in SQLite and PostgreSQL databases. It supports reading migration scripts from various sources, enabling seamless version control of database structures across different environments. Ideal for developers who need reliable, automated migrations without complex setup. Migrant integrates easily into Flutter projects and works across all major platforms, including mobile, web, and desktop.

Use cases

  • Managing database schema changes in Flutter apps
  • Automating SQL migrations for SQLite and PostgreSQL
  • Enabling team collaboration on database evolution
  • Supporting CI/CD pipelines with database versioning
  • Running migrations during app startup or build process

Key features

  • Supports SQLite and PostgreSQL
  • Reads migration scripts from multiple sources
  • Cross-platform compatibility
  • Simple integration via Flutter pub
  • Automated migration execution
  • Version-controlled schema updates

Suitable for

  • Flutter developers managing database schemas
  • Teams using CI/CD for database deployments
  • Apps requiring consistent database state across environments
  • Projects with evolving data models
  • Developers seeking minimal setup for migrations

Considerations

  • Requires manual script management
  • No built-in UI for migration review
  • Depends on external script organization
  • Limited error reporting in some cases
  • Not suitable for very large migration sets without planning

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Database schema migration tool for Dart

A super simple tool which reads the migrations from a source (e.g. from the local file system) and applies them to a database (e.g. PostgreSQL or SQLite). Nothing fancy.

Supported migrations sources:

Supported database engines:

Please see the usage examples in the above packages.

Categories

Source repository

Projects using this package

Rankings