From 1de827db48c5d89e7a9f2a527517479a3a0c1d42 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 21 Apr 2019 13:30:19 -0400 Subject: [PATCH] migration@2.0.0-rc.0 --- angel_migration/CHANGELOG.md | 3 +++ angel_migration/lib/src/schema.dart | 2 +- angel_migration/pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/angel_migration/CHANGELOG.md b/angel_migration/CHANGELOG.md index 01b5d954..303b6b05 100755 --- a/angel_migration/CHANGELOG.md +++ b/angel_migration/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2.0.0-rc.0 +* Make abstract `Schema.alter` use `MutableTable`. + # 2.0.0-alpha.1 * Changes to work with `package:angel_orm@2.0.0-dev.15`. diff --git a/angel_migration/lib/src/schema.dart b/angel_migration/lib/src/schema.dart index 3bb2c288..155abb32 100755 --- a/angel_migration/lib/src/schema.dart +++ b/angel_migration/lib/src/schema.dart @@ -11,5 +11,5 @@ abstract class Schema { void createIfNotExists(String tableName, void callback(Table table)); - void alter(String tableName, void callback(Table table)); + void alter(String tableName, void callback(MutableTable table)); } diff --git a/angel_migration/pubspec.yaml b/angel_migration/pubspec.yaml index 4c73e695..1c77eae5 100755 --- a/angel_migration/pubspec.yaml +++ b/angel_migration/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_migration -version: 2.0.0-alpha.1 +version: 2.0.0-rc.0 description: Database migration runtime for Angel's ORM. Use this package to define schemas. author: Tobe O homepage: https://github.com/angel-dart/migration