6 个仓库
Frameworks that automate database schema updates using versioned scripts and structured changesets.
Distinct from SQL Migration Workflows: Distinct from general SQL frameworks or persistence layers; focuses on the lifecycle of schema migrations.
Explore 6 awesome GitHub repositories matching data & databases · SQL Migration Frameworks. Refine with filters or upvote what's useful.
Liquibase is a database schema change management tool and version control system designed to track, manage, and apply versioned database modifications. It functions as a SQL migration framework and DevOps automation utility that integrates database deployments into continuous delivery pipelines and build toolchains. The system enables precise rollbacks and drift detection by recording every modification made to a database schema. It supports the definition of database changes through structured changesets in XML, YAML, or JSON, as well as raw SQL scripts, to ensure consistent deployments acro
Provides a comprehensive framework for automating database updates through SQL scripts and structured changesets.
Pigsty 是一个全面的数据库基础设施编排平台,旨在自动化高可用 PostgreSQL 集群的全生命周期。它作为一个基础设施即代码(IaC)框架,通过幂等 Playbook 管理集群协调、节点配置与服务发现。通过集成分布式共识机制,该平台确保了在包括裸机与虚拟化基础设施在内的多样化环境中,自动化故障转移与一致的状态强制执行。 该平台通过一套超越标准数据库管理的强大运营能力脱颖而出。它具备内置的观测流水线,将指标、日志与追踪聚合到集中式仪表盘中,用于实时性能监控与诊断分析。此外,它还提供了一个模拟专有线路协议与 SQL 语法的迁移框架,允许将遗留企业数据库工作负载集成到现代关系型环境中。 该系统涵盖了广泛的功能面,包括带有写时复制(CoW)克隆以实现快速部署的高级存储管理,以及协调关系型引擎与缓存及对象存储服务的多数据库编排。它还整合了安全加固、自动化备份与恢复,以及通过分层代理进行的流量路由,以将客户端连接与底层集群拓扑解耦。 该项目以自包含的包镜像模型分发,能够在安全或离线环境中实现一致的部署与依赖管理。
Facilitates data transitions into relational environments by emulating proprietary wire protocols and SQL syntax for legacy systems.
This project is a database version control system and schema evolution manager designed to track and apply incremental changes to database structures. It serves as a tool for versioning SQL database migrations using both programmatic PHP classes and SQL scripts. The system is designed specifically for integration with the Doctrine Object Relational Mapper for PHP, allowing database schemas to evolve incrementally without data loss through reversible migration steps. It covers capabilities for automated database migrations, environment synchronization, and schema versioning. These features fa
Automates database schema updates using a combination of versioned SQL scripts and programmatic PHP classes.
Alembic 是一个用于 SQLAlchemy 的数据库模式版本控制系统和迁移工具。它通过版本化脚本管理数据库结构的增量更新,支持升级和降级,从而保持数据库与代码同步。 该系统利用有向无环图(DAG)进行迁移管理,支持非线性版本控制,包括跨多个根版本的分支和合并。它内置了自动模式差异对比工具,可将实时数据库模式与元数据对象进行比较,从而以编程方式生成迁移指令。 该工具提供事务性模式演进功能,确保更新的原子性并防止数据库部分损坏。其他功能包括将迁移指令转换为原始 SQL 字符串以进行审计,以及通过专用数据库表维护基于脚本的版本跟踪。
Automatically produces candidate migration directives by comparing data models to live database states.
dbtpl 是一个数据库模型生成器和模式内省工具,可从 SQL 数据库模式生成类型安全的源代码和数据模型。它作为一个命令行工具,将 SQL 类型映射到 Go 结构体和执行函数,同时提供了一个基于模板的系统,用于创建自定义源代码和模式定义。 该工具支持多种数据库引擎,包括 PostgreSQL、MySQL、SQLite、Oracle 和 SQL Server。它的独特之处在于允许用户通过文本模板定义自定义输出格式,并能为 Django Web 框架生成兼容的模型定义。 其功能还包括生成用于数据库迁移和镜像的 SQL 脚本,以及以 JSON 或 YAML 格式导出模式表示。此外,它还可以生成 dot 文件以可视化数据库关系和结构图。
Produces SQL migration scripts by introspecting a live database to recreate its schema.
这是一个数据库模式迁移引擎,提供命令行接口和用于管理顺序结构变更的库。它作为数据库模式的版本控制工具,支持在开发和生产环境中应用、回滚和同步增量更新。 该工具通过支持多种关系型和非关系型存储系统的驱动抽象层脱颖而出。它使用专用的元数据表跟踪版本并防止并发更新,从而保持模式一致性。为确保可靠性,该引擎包含优雅的进程终止机制,可在意外中断期间保护数据库完整性,并提供手动状态覆盖功能以解决迁移失败后的不一致问题。 该软件支持基础设施管理的模块化方法,允许从多种本地和远程源获取迁移脚本。它通过将模式转换组织成有序的脚本对,促进了自动化部署流水线,确保数据库结构在整个项目生命周期内始终与应用需求保持一致。
Automates database schema updates by managing versioned migration scripts and structural changesets across development and production environments.