We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
If I add a migration file, and then add a docstring to that migration, it fails to run the migration and bombs out with the following error:
Applying local migrations... -- Conduit CLI Version: 4.4.0 -- Conduit project version: 4.4.0 *** Uncaught error RangeError (start): Invalid value: Not in inclusive range 0..281: 499 **** Stacktrace * #0 RangeError.checkValidRange (dart:core/errors.dart:360:7) * #1 _StringBase.substring (dart:core-patch/string_patch.dart:398:27) * #2 new MigrationSource (package:conduit/src/migration_source.dart:8:28) * #3 new MigrationSource.fromFile (package:conduit/src/migration_source.dart:32:12) * #4 CLIDatabaseManagingCommand.projectMigrations.<anonymous closure> (package:conduit/src/mixins/database_managing.dart:36:41) * #5 MappedIterator.moveNext (dart:_internal/iterable.dart:393:20) * #6 new _GrowableList._ofOther (dart:core-patch/growable_array.dart:202:26) * #7 new _GrowableList.of (dart:core-patch/growable_array.dart:152:26) * #8 new List.of (dart:core-patch/array_patch.dart:47:28) * #9 Iterable.toList (dart:core/iterable.dart:495:7) * #10 CLIDatabaseManagingCommand.projectMigrations (package:conduit/src/mixins/database_managing.dart:37:12) * #11 CLIDatabaseUpgrade.handle (package:conduit/src/commands/db_upgrade.dart:18:24) * #12 CLICommand.process (package:conduit/src/command.dart:238:20) * <asynchronous suspension> * #13 main (file:///Users/jeff/.pub-cache/hosted/pub.dev/conduit-4.4.0/bin/conduit.dart:9:14) * <asynchronous suspension> ****
To Reproduce Steps to reproduce the behavior:
/// This migration was added because...
class Migration13 extends Migration {
Expected behavior
I would expect to be able to add a docstring to an added migration.
Screenshots If applicable, add screenshots to help explain your problem.
System Information:
The text was updated successfully, but these errors were encountered:
j4qfrost
No branches or pull requests
Describe the bug
If I add a migration file, and then add a docstring to that migration, it fails to run the migration and bombs out with the following error:
To Reproduce
Steps to reproduce the behavior:
/// This migration was added because...
forclass Migration13 extends Migration {
).Expected behavior
I would expect to be able to add a docstring to an added migration.
Screenshots
If applicable, add screenshots to help explain your problem.
System Information:
The text was updated successfully, but these errors were encountered: