Documentation
ΒΆ
Overview ΒΆ
MIT License
Copyright (c) 2025 OcomSoft ΒΆ
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
MIT License
|
MIT License |
|
internal
|
|
|
codegen
Package codegen generates Go source files for the migration framework.
|
Package codegen generates Go source files for the migration framework. |
|
config
Package config provides configuration loading and management for makemigrations.
|
Package config provides configuration loading and management for makemigrations. |
|
drivers
Package drivers registers the SQL drivers used by the makemigrations CLI.
|
Package drivers registers the SQL drivers used by the makemigrations CLI. |
|
dumpdata
Package dumpdata provides database introspection and row fetching utilities for the dump-data feature.
|
Package dumpdata provides database introspection and row fetching utilities for the dump-data feature. |
|
errors
MIT License
|
MIT License |
|
fkutils
Package fkutils provides utilities for resolving and formatting foreign key types and names.
|
Package fkutils provides utilities for resolving and formatting foreign key types and names. |
|
interp
Package interp loads morphic migration .go files into an in-process *migrate.Registry using the yaegi interpreter, removing the need to compile the migrations module with the Go toolchain.
|
Package interp loads morphic migration .go files into an in-process *migrate.Registry using the yaegi interpreter, removing the need to compile the migrations module with the Go toolchain. |
|
providers
Package providers supplies the factory and interface for database-specific SQL generation.
|
Package providers supplies the factory and interface for database-specific SQL generation. |
|
providers/auroradsql
Package auroradsql provides a database provider for Amazon Aurora DSQL.
|
Package auroradsql provides a database provider for Amazon Aurora DSQL. |
|
providers/clickhouse
Package clickhouse provides a database provider for ClickHouse columnar databases.
|
Package clickhouse provides a database provider for ClickHouse columnar databases. |
|
providers/mysql
Package mysql provides a database provider for MySQL and MariaDB.
|
Package mysql provides a database provider for MySQL and MariaDB. |
|
providers/postgresql
Package postgresql provides a database provider for PostgreSQL.
|
Package postgresql provides a database provider for PostgreSQL. |
|
providers/redshift
MIT License
|
MIT License |
|
providers/sqlite
Package sqlite provides a database provider for SQLite.
|
Package sqlite provides a database provider for SQLite. |
|
providers/sqlserver
Package sqlserver provides a database provider for Microsoft SQL Server.
|
Package sqlserver provides a database provider for Microsoft SQL Server. |
|
providers/starrocks
Package starrocks provides a database provider for StarRocks MPP analytical databases.
|
Package starrocks provides a database provider for StarRocks MPP analytical databases. |
|
providers/tidb
MIT License
|
MIT License |
|
providers/turso
MIT License
|
MIT License |
|
providers/vertica
Package vertica provides a database provider for Vertica analytics databases.
|
Package vertica provides a database provider for Vertica analytics databases. |
|
providers/ydb
Package ydb provides a database provider for YDB (Yandex Database).
|
Package ydb provides a database provider for YDB (Yandex Database). |
|
scanner
Package scanner provides utilities for discovering schema files within Go module directories.
|
Package scanner provides utilities for discovering schema files within Go module directories. |
|
struct2schema
MIT License
|
MIT License |
|
typemap
Package typemap resolves user-defined type mapping templates against schema field definitions.
|
Package typemap resolves user-defined type mapping templates against schema field definitions. |
|
types
Package types defines the shared schema data structures used throughout makemigrations.
|
Package types defines the shared schema data structures used throughout makemigrations. |
|
ui
Package ui provides bubbletea TUI prompts for destructive migration operations.
|
Package ui provides bubbletea TUI prompts for destructive migration operations. |
|
utils
Package utils provides shared helper functions for SQL generation and value formatting.
|
Package utils provides shared helper functions for SQL generation and value formatting. |
|
version
Package version provides version and build information for the makemigrations CLI.
|
Package version provides version and build information for the makemigrations CLI. |
|
workflow
Package workflow provides shared YAML schema processing pipelines used by multiple CLI commands (generate, diff, dump-sql, schema2diagram, find-includes).
|
Package workflow provides shared YAML schema processing pipelines used by multiple CLI commands (generate, diff, dump-sql, schema2diagram, find-includes). |
|
yaml
MIT License
|
MIT License |
|
operations.go defines the Operation interface and all concrete migration operation types used by the morphic Go migration framework.
|
operations.go defines the Operation interface and all concrete migration operation types used by the morphic Go migration framework. |
|
symbols
Package symbols holds the yaegi symbol map for morphic migrations.
|
Package symbols holds the yaegi symbol map for morphic migrations. |