sqlmigrate 0.1.1 copy "sqlmigrate: ^0.1.1" to clipboard
sqlmigrate: ^0.1.1 copied to clipboard

A lightweight CLI for managing database migrations in Dart/Flutter projects.

Changelog #

All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


0.1.0 - 2025-02-13 #

Added #

  • Initial Release: Launch of the sqlmigrate CLI tool.
  • PostgreSQL Support: Initial support for managing PostgreSQL database migrations.
  • CLI Commands:
    • up: Applies one pending migration at a time.
    • down: Reverts a migration.
    • new: Creates a new migration file.
  • Flexible Configuration:
    • Configuration via pubspec.yaml using a dedicated db_config block.
    • Option to use an external YAML configuration file with custom environment names.
  • Migration File Structure:
    • Standardized naming convention (YYYYMMDDHHMMSS-migration-name.sql).
    • Defined markers for migration directions (-- +migrate Up and -- +migrate Down).

[Unreleased] #

Added #

  • Future support for additional databases besides PostgreSQL.
  • Potential enhancements and additional CLI features based on user feedback.
0
likes
135
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight CLI for managing database migrations in Dart/Flutter projects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, auto_injector, cli_util, meta, path, postgres, uuid, yaml

More

Packages that depend on sqlmigrate