-_MIGRATIONS: MigrationsList = [
- (Path('0_init.sql'), None),
- (Path('1_add_files_last_updated.sql'), None),
- (Path('2_add_files_sha512.sql'), _mig_2_calc_digests),
- (Path('3_files_redo.sql'), None),
- (Path('4_add_files_sha512_blob.sql'), _mig_4_convert_digests),
- (Path('5_files_redo.sql'), None),
- (Path('6_add_files_tags.sql'), None)
-]
+_MIGRATIONS: MigrationsDict = {
+ 0: (Path('0_init.sql'), None),
+ 1: (Path('1_add_files_last_updated.sql'), None),
+ 2: (Path('2_add_files_sha512.sql'), _mig_2_calc_digests),
+ 3: (Path('3_files_redo.sql'), None),
+ 4: (Path('4_add_files_sha512_blob.sql'), _mig_4_convert_digests),
+ 5: (Path('5_files_redo.sql'), None),
+ 6: (Path('6_add_files_tags.sql'), None)
+}