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:


dependencies:
  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';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
70
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
84
Learn more about scoring.

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

  • Dart: 2.5.0
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:angel_migration/angel_migration.dart.

Health suggestions

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.

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

Analysis of lib/src/column.dart reported 1 hint:

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

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

Analysis of lib/src/table.dart reported 1 hint:

line 25 col 56: 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/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
angel_orm ^2.0.0-dev 2.0.2
Transitive dependencies
charcode 1.1.2
intl 0.15.8 0.16.0
meta 1.1.7
path 1.6.4
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0