Skip to content

Commit f8dbeb6

Browse files
authored
Merge pull request #2071 from microbiomedata/2070-migrations-implement-no-op-migrator-from-v1040-to-v1054
Implement a "no op" migrator from `v10.4.0` to `v10.5.4`
2 parents b664704 + e726dad commit f8dbeb6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from nmdc_schema.migrators.migrator_base import MigratorBase
2+
3+
4+
class Migrator(MigratorBase):
5+
r"""
6+
Migrates a database between two schemas.
7+
8+
Note: This is a "no op" migrator. Its existence serves as documentation that no
9+
database migration is necessary between the specified schema versions.
10+
"""
11+
12+
_from_version = "10.4.0"
13+
_to_version = "10.5.4"
14+
15+
def upgrade(self) -> None:
16+
r"""Do nothing."""
17+
pass

0 commit comments

Comments
 (0)