mongrator.migration¶
mongrator.migration
¶
MigrationRecord
¶
Bases: TypedDict
Document stored in the tracking collection for each applied migration.
Source code in src/mongrator/migration.py
12 13 14 15 16 17 18 19 | |
MigrationFile
dataclass
¶
Represents a discovered migration file on disk.
Source code in src/mongrator/migration.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |
MigrationStatus
dataclass
¶
Status of a single migration as reported by runner.status().
Source code in src/mongrator/migration.py
50 51 52 53 54 55 56 57 58 | |