sqlmigrate 0.1.0
sqlmigrate: ^0.1.0 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
sqlmigrateCLI 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.yamlusing a dedicateddb_configblock. - Option to use an external YAML configuration file with custom environment names.
- Configuration via
- Migration File Structure:
- Standardized naming convention (
YYYYMMDDHHMMSS-migration-name.sql). - Defined markers for migration directions (
-- +migrate Upand-- +migrate Down).
- Standardized naming convention (
[Unreleased] #
Added #
- Future support for additional databases besides PostgreSQL.
- Potential enhancements and additional CLI features based on user feedback.