State-based deployments vs imperative migrations
SchemaSmith uses a state-based approach where you define the desired end state and the tool generates changes automatically. Flyway uses an imperative approach where you write sequential migration scripts. SchemaSmith offers unlimited seats and schemas at $5,000/year, while Flyway charges per-user with a 100-schema limit on Teams tier that forces larger deployments to Enterprise (~$2,800/user).
How the tools differ in approach, features, and developer experience.
| Aspect | SchemaSmith | Flyway |
|---|---|---|
| Approach | State-based: define end state, tool generates changes | Imperative: write sequential migration scripts |
| Schema Limits | Unlimited schemas, DBs, instances | Teams: 100 schemas (incl. replicas), Enterprise: unlimited |
| Drift Detection | Built-in (compares live DB to target state) | Manual (requires discipline to track) |
| Environment Sync | Any env can sync to any defined state | Must replay all migrations in order |
| Rollback | Rerun prior release state* | Down migrations (must write manually) |
| Merge Conflicts | JSON metadata merges cleanly in Git | Script ordering conflicts common |
| CI/CD Model | Idempotent deployments (run anytime) | Order-dependent (must track history) |
| Learning Curve | JSON metadata format | SQL ALTER/CREATE scripts |
| Data Management | DataTongs for seed/reference data | Separate migration scripts |
| New Environment Setup | Apply current state directly | Replay all migrations from V1 |
*Schema rollbacks are automatic; data preservation (e.g., retaining data from dropped columns) requires user-written migration scripts.
Flyway Teams has a 100-schema limit that counts production deployments only — dev/test environments are free. However, all production replicas count toward the limit:
| Scenario | Calculation | Schemas | Flyway Tier Required |
|---|---|---|---|
| Single prod instance | 1 prod × 5 DBs × 10 schemas | 50 | Teams (~$600/user) |
| Prod + dev + test envs | 1 prod × 5 DBs × 10 schemas | 50 | Teams (dev/test free) |
| Prod with 2 HA replicas | 3 prod × 5 DBs × 10 schemas | 150 | Enterprise (~$2,800/user) |
| Multi-region prod (3 regions) | 3 prod × 5 DBs × 10 schemas | 150 | Enterprise (~$2,800/user) |
The Flyway trap: Many teams assume they'll qualify for Teams tier since dev/test are free. But HA/DR replicas or multi-region deployments quickly exceed 100 schemas, forcing Enterprise at ~$2,800/user — a 5x price jump.
How licensing and costs compare as your team and infrastructure scale.
| Aspect | SchemaSmith | Flyway |
|---|---|---|
| Pricing Model | Unlimited seats, schemas, instances | Per-user + schema-limited tiers |
| Free Tier | Community: full deployment capabilities | Community: limited features |
| Paid Tiers | Enterprise: $5,000/year | Teams: ~$600/user/year, Enterprise: ~$2,800/user/year |
| Schema Limits | Unlimited | Teams: 100 prod schemas, Enterprise: unlimited |
| Team Size | SchemaSmith | Flyway Teams | Winner |
|---|---|---|---|
| 5 users | $5,000 | $3,000 | Flyway |
| 8 users | $5,000 | $4,800 | Flyway (barely) |
| 10 users | $5,000 | $6,000 | SchemaSmith |
| 15 users | $5,000 | $9,000 | SchemaSmith |
| Team Size | SchemaSmith | Flyway Enterprise | Savings |
|---|---|---|---|
| 2 users | $5,000 | $5,600 | $600/year |
| 5 users | $5,000 | $14,000 | $9,000/year |
| 10 users | $5,000 | $28,000 | $23,000/year |
| 20 users | $5,000 | $56,000 | $51,000/year |
Unlimited seats & schemas — your costs stay flat as your team and database count grow. A 10-person team with HA production saves $23,000/year compared to Flyway Enterprise.
Switching from Flyway to SchemaSmith doesn't require starting over:
Your existing Flyway migration history stays in place. SchemaSmith takes over from the current state forward.