angel_migration 2.0.0

migration #

A PostgreSQL database migration framework built on Angel's ORM.

2.0.0 #

  • Bump to 2.0.0.

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.

2.0.0-alpha #

Dart 2 update.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  angel_migration: ^2.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:angel_migration/angel_migration.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health issues and suggestions

Document public APIs. (-0.13 points)

65 out of 67 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/src/column.dart. (-2.48 points)

Analysis of lib/src/column.dart reported 5 hints:

line 18 col 7: Unnecessary new keyword.

line 21 col 23: Use = to separate a named parameter from its default value.

line 30 col 9: Unnecessary new keyword.

line 44 col 15: Unnecessary new keyword.

line 59 col 7: Unnecessary new keyword.

Fix lib/src/table.dart. (-1.49 points)

Analysis of lib/src/table.dart reported 3 hints:

line 8 col 27: Unnecessary new keyword.

line 25 col 56: Use = to separate a named parameter from its default value.

line 35 col 15: Unnecessary new keyword.

Fix lib/src/schema.dart. (-1 points)

Analysis of lib/src/schema.dart reported 2 hints:

line 4 col 44: Use = to separate a named parameter from its default value.

line 6 col 58: Use = to separate a named parameter from its default value.

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and angel_migration.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
angel_orm ^2.0.0-dev 2.0.2 2.1.0-beta.3
Transitive dependencies
charcode 1.1.3
collection 1.14.12
intl 0.15.8 0.16.1
meta 1.1.8
path 1.6.4
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0