Bump runner
This commit is contained in:
parent
117896874e
commit
8996f150e0
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.0.0-beta.0
|
||||
* Make `reset` reverse migrations.
|
||||
|
||||
# 2.0.0-alpha.5
|
||||
* Support default values for columns.
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ class PostgresMigrationRunner implements MigrationRunner {
|
|||
int curBatch = (r[0][0] ?? 0) as int;
|
||||
int batch = curBatch + 1;
|
||||
|
||||
for (var k in toRun) {
|
||||
for (var k in toRun.reversed) {
|
||||
var migration = migrations[k];
|
||||
var schema = new PostgresSchema();
|
||||
migration.up(schema);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_migration_runner
|
||||
version: 2.0.0-alpha.5
|
||||
version: 2.0.0-beta.0
|
||||
description: Command-line based database migration runner for Angel's ORM.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/migration
|
||||
|
|
Loading…
Reference in a new issue