You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! The documentation says use "drift_schema_vX.json" file template for schema dump, but cli tools works only with "moor_schema_vX.json" and not generate schema files for tests.
I propose to add an additional group to the regular expression in this line 225
static final _filenames = RegExp(r'moor_schema_v(\d+)\.json');
change to static final _filenames = RegExp(r'(moor|drift)_schema_v(\d+)\.json');
Hello!
The documentation says use "drift_schema_vX.json" file template for schema dump, but cli tools works only with "moor_schema_vX.json" and not generate schema files for tests.
I propose to add an additional group to the regular expression in this line 225
static final _filenames = RegExp(r'moor_schema_v(\d+)\.json');
change to
static final _filenames = RegExp(r'(moor|drift)_schema_v(\d+)\.json');
And also change line 128 where regex is used.
final version = int.parse(match.group(1));
change to
final version = int.parse(match.group(2));
The text was updated successfully, but these errors were encountered: