Skip to content

Commit a4ec1ec

Browse files
committed
docs(database): update migration documentation
- Clarify the process for adding new migration classes - Update explanation of how migrations are sorted and applied
1 parent 1eec653 commit a4ec1ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/database/migrations/all_migrations.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import 'package:flutter_news_app_api_server_full_source_code/src/database/migrat
33

44
/// A central list of all database migrations to be applied.
55
///
6-
/// New migration classes should be added to this list in the order they are
7-
/// created. The [DatabaseMigrationService] will automatically sort and apply
8-
/// them based on their version.
6+
/// New migration classes should be added to this list. The
7+
/// [DatabaseMigrationService] will automatically sort and apply them based on
8+
/// their `prDate` property.
99
final List<Migration> allMigrations = [
1010
RefactorAdConfigToRoleBased(),
1111
];

0 commit comments

Comments
 (0)