mirror of https://github.com/AMT-Cheif/drift.git
Sort schema versions
This commit is contained in:
parent
624c145cfd
commit
31d58fbf77
|
@ -75,7 +75,8 @@ class GenerateUtilsCommand extends Command {
|
|||
);
|
||||
}
|
||||
|
||||
await _writeLibraryFile(outputDir, schema.keys);
|
||||
final versions = schema.keys.toList()..sort();
|
||||
await _writeLibraryFile(outputDir, versions);
|
||||
print(
|
||||
'Wrote ${schema.length + 1} files into ${p.relative(outputDir.path)}');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue