• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mikro-orm / mikro-orm / 1074 / 4
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 22 Oct 2019 08:05AM UTC
Files 107
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2019 07:58AM UTC coverage: 100.0%. Remained the same
1074.4

push

travis-ci-com

web-flow
feat(core): add support for migrations via umzug (#209)

Basic support for migrations is now provided via umzug. `Migrator` class is available that can be used to generate new migration file with current schema diff from `SchemaGenerator`.

```typescript
const migrator = orm.getMigrator();
await migrator.createMigration(); // creates file Migration20191019195930.ts
await migrator.up(); // runs migrations up to the latest
await migrator.up('up-to-name'); // runs migrations up to given version
await migrator.down('down-to-name'); // runs migrations down to given version
```

CLI commands are also provided:

```sh
npx mikro-orm migration:create   # Create new migration with current schema diff
npx mikro-orm migration:up       # Migrate up to the latest version
npx mikro-orm migration:down     # Migrate one step down
npx mikro-orm migration:list     # List all executed migrations
npx mikro-orm migration:pending  # List all pending migrations
```

2233 of 2233 branches covered (100.0%)

Branch coverage included in aggregate %.

3940 of 3940 relevant lines covered (100.0%)

1088.99 hits per line

Source Files on job 1074.4
  • Tree
  • List 0
  • Changed 91
  • Source Changed 12
  • Coverage Changed 91
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 332
  • Travis Job 1074.4
  • 38ec9734 on github
  • Prev Job for on dev (#1064.3)
  • Next Job for on dev (#1079.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc