Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Clickhouse Migrations Bundle Laravel Package

dmamontov/clickhouse-migrations-bundle

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Database Schema Versioning: Enables consistent, repeatable schema changes across ClickHouse deployments (e.g., staging, production, CI/CD pipelines) without manual intervention.
  • Build vs. Buy: Avoids reinventing a ClickHouse migration system, leveraging a lightweight, Symfony-compatible solution instead of custom scripts or third-party tools.
  • Multi-Database Strategy: Supports hybrid architectures (e.g., PostgreSQL + ClickHouse) by unifying migration workflows under a single CLI toolchain.
  • DevOps/Platform Roadmap: Critical for teams adopting ClickHouse for analytics/OLAP workloads, ensuring schema parity across environments.
  • Compliance/Auditability: Tracks schema changes via a migrations_versions table, useful for regulatory or operational audits.

When to Consider This Package

  • Adopt if:

    • Your Symfony app uses ClickHouse as a primary/secondary database.
    • You need schema versioning for ClickHouse tables (e.g., adding columns, altering engines).
    • Your team prefers Symfony’s Doctrine Migrations workflow and wants consistency across databases.
    • You’re early in ClickHouse adoption and need a simple, maintained migration layer (not enterprise-grade).
  • Look elsewhere if:

    • You require advanced ClickHouse-specific features (e.g., materialized view migrations, TTL policies) not covered by this bundle.
    • Your team uses non-Symfony frameworks (e.g., Laravel, Django) or lacks Symfony’s dependency ecosystem.
    • You need rollbacks or transactional migrations (this bundle is basic; see issue #1).
    • Your ClickHouse schema is highly dynamic (e.g., frequent DDL changes) and requires custom logic.
    • You prioritize maturity/stability: The package has low stars/activity (last release 2023-07-10; consider forking or extending).

How to Pitch It (Stakeholders)

For Executives: "This bundle lets us manage ClickHouse database schema changes as reliably as we do for PostgreSQL—critical for scaling our analytics infrastructure. By adopting it, we’ll reduce manual errors in production deployments and align with our existing Symfony migration workflows. The upfront effort is minimal (a Composer install + config), and it future-proofs our data layer as we expand ClickHouse usage."

For Engineering: *"This is a Symfony Doctrine Migrations port for ClickHouse. Key benefits:

  • Familiar CLI: php bin/console clickhouse:migrations:generate mirrors Doctrine’s syntax.
  • Integration: Works with Symfony’s service container (e.g., inject ClickHouseDB\Client).
  • Lightweight: No heavy dependencies; just 200 LOC. Perfect for prototyping or small-to-medium ClickHouse schemas. Tradeoff: Limited to basic DDL (no rollbacks, complex queries). If we hit those limits, we can fork it or pair it with custom scripts."*

For Data Teams: "This solves the ‘schema drift’ problem in ClickHouse environments. Instead of manually running ALTER TABLE commands across servers, we’ll track changes in a migrations_versions table—just like we do for PostgreSQL. Useful for ensuring consistency in dashboards, ETL pipelines, or A/B testing setups."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours