# Alembic vs MikroORM

| Attribute | Alembic | MikroORM |
|---|---|---|
| **Vioscale score** | 65.7 (43% (low)) | 65.7 (79% (high)) |
| activity.commits_last_30d | 15 | 100 |
| adoption.dependent_repos | 52,456 | 914 |
| adoption.github_stars | 4,340 | 9,184 |
| adoption.package_downloads_weekly | - | 743,810 |
| deployment.options | - | `{"cloud":true,"self_hosted":true}` |
| description.long | Alembic is an open-source database migrations tool that provides transactional DDL support, auto-generation of migration scripts, and non-linear versioning with dependency-graph structure for managing database schema changes. | An object-relational mapping library for Node.js that uses proven patterns (Data Mapper, Unit of Work, Identity Map) to provide type-safe database access with minimal boilerplate. Supports multiple SQL and NoSQL databases with features including schema versioning, entity lifecycle hooks, and flexible data loading strategies. |
| features.capabilities | `{"raw_sql":true,"multi_db":true,"languages":"Python","relations":true,"migrations":true,"schema_first":true}` | `{"raw_sql":true,"multi_db":true,"languages":"TypeScript, JavaScript (Node.js)","relations":true,"migrations":true,"schema_first":true,"type_safe_queries":true}` |
| integrations.count | - | 1 |
| integrations.list | - | `[{"name":"Kysely"}]` |
| language.primary | Python | TypeScript |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://alembic.sqlalchemy.org/","retrievedAt":"2026-08-13T16:51:56.374Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://mikro-orm.io","retrievedAt":"2026-08-14T08:37:11.055Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| release.cadence_days | 17 | 4 |
| release.history | `[{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_19_1","date":"2026-08-08T16:32:07Z","type":"stable","version":"rel_1_19_1"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_19_0","date":"2026-08-04T18:57:11Z","type":"stable","version":"rel_1_19_0"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_18_5","date":"2026-06-25T15:21:00Z","type":"stable","version":"rel_1_18_5"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_18_4","date":"2026-02-10T16:00:54Z","type":"stable","version":"rel_1_18_4"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_18_3","date":"2026-01-29T20:24:21Z","type":"stable","version":"rel_1_18_3"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_18_2","date":"2026-01-28T21:23:36Z","type":"stable","version":"rel_1_18_2"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_18_1","date":"2026-01-14T18:53:22Z","type":"stable","version":"rel_1_18_1"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_18_0","date":"2026-01-09T21:22:29Z","type":"stable","version":"rel_1_18_0"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_17_2","date":"2025-11-14T20:35:09Z","type":"stable","version":"rel_1_17_2"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_17_1","date":"2025-10-29T00:23:22Z","type":"stable","version":"rel_1_17_1"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_17_0","date":"2025-10-11T18:40:20Z","type":"stable","version":"rel_1_17_0"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_16_5","date":"2025-08-27T18:02:11Z","type":"stable","version":"rel_1_16_5"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_16_4","date":"2025-07-10T16:17:25Z","type":"stable","version":"rel_1_16_4"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_16_3","date":"2025-07-08T18:57:56Z","type":"stable","version":"rel_1_16_3"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_16_2","date":"2025-06-16T18:05:14Z","type":"stable","version":"rel_1_16_2"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_16_1","date":"2025-05-21T23:11:12Z","type":"stable","version":"rel_1_16_1"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_16_0","date":"2025-05-21T19:18:54Z","type":"stable","version":"rel_1_16_0"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_15_2","date":"2025-03-28T13:52:07Z","type":"stable","version":"rel_1_15_2"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_15_1","date":"2025-03-04T22:02:46Z","type":"stable","version":"rel_1_15_1"},{"url":"https://github.com/sqlalchemy/alembic/releases/tag/rel_1_15_0","date":"2025-03-04T17:57:42Z","type":"stable","version":"rel_1_15_0"}]` | `[{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.13","date":"2026-08-20T13:23:52Z","type":"stable","version":"v7.1.13"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.12","date":"2026-08-17T11:22:27Z","type":"stable","version":"v7.1.12"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.11","date":"2026-08-06T10:31:32Z","type":"stable","version":"v7.1.11"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.10","date":"2026-08-04T09:53:13Z","type":"stable","version":"v7.1.10"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.9","date":"2026-07-30T19:49:55Z","type":"stable","version":"v7.1.9"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.8","date":"2026-07-28T15:16:42Z","type":"stable","version":"v7.1.8"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.7","date":"2026-07-17T14:00:21Z","type":"stable","version":"v7.1.7"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.16","date":"2026-07-17T13:55:34Z","type":"stable","version":"v6.6.16"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.6","date":"2026-07-13T13:17:56Z","type":"stable","version":"v7.1.6"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.5","date":"2026-06-26T14:48:34Z","type":"stable","version":"v7.1.5"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.15","date":"2026-06-17T08:40:22Z","type":"stable","version":"v6.6.15"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.4","date":"2026-06-06T13:54:25Z","type":"stable","version":"v7.1.4"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.3","date":"2026-05-31T11:06:00Z","type":"stable","version":"v7.1.3"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.2","date":"2026-05-29T13:18:56Z","type":"stable","version":"v7.1.2"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.1","date":"2026-05-22T12:00:36Z","type":"stable","version":"v7.1.1"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.0","date":"2026-05-20T07:43:25Z","type":"stable","version":"v7.1.0"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.0.17","date":"2026-05-17T17:12:06Z","type":"stable","version":"v7.0.17"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.0.16","date":"2026-05-14T09:51:16Z","type":"stable","version":"v7.0.16"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.0.15","date":"2026-05-09T09:41:48Z","type":"stable","version":"v7.0.15"},{"url":"https://github.com/mikro-orm/mikro-orm/releases/tag/v7.0.14","date":"2026-05-04T09:59:54Z","type":"stable","version":"v7.0.14"}]` |
| security.scorecard | 6.2 | 5.9 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=alembic&per_page=100","last_12m":0,"max_severity":null}` | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40mikro-orm%2Fcore&per_page=100","last_12m":2,"max_severity":"CRITICAL"}` |

## Capabilities (ORM & Database Tools)

| Capability | Alembic | MikroORM |
|---|:--:|:--:|
| **Core** |  |  |
| Type-safe queries | - | ✓ |
| Schema migrations | ✓ | ✓ |
| Relations / joins API | ✓ | ✓ |
| Languages | Python | TypeScript, JavaScript (Node.js) |
| **Modelling** |  |  |
| Schema-first modelling | ✓ | ✓ |
| **Flexibility** |  |  |
| Raw SQL escape hatch | ✓ | ✓ |
| **Portability** |  |  |
| Multiple database backends | ✓ | ✓ |
| **Ops** |  |  |
| Connection pooling | - | - |
| **DX** |  |  |
| Data browser / studio | - | - |

*Source: Vioscale. Generated 2026-09-01T17:21:28.932Z. "-" = undocumented, not absent.*
