Skip to content

Commit ec1c267

Browse files
roelschrmoromimay
authored andcommitted
[MLOP-647] [MLOP-646] Apply migrations (#300)
* add apply migration method * add test apply migration * add migrate actor with tests * mypy compliant * fix test interaction with mocked object * Rebase and some adjusts. Co-authored-by: Mayara Moromisato <[email protected]>
1 parent 230dc99 commit ec1c267

File tree

2 files changed

+5
-41
lines changed

2 files changed

+5
-41
lines changed

butterfree/configs/db/cassandra_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ def database(self) -> str:
6363
"""Database name."""
6464
return "cassandra"
6565

66+
@property
67+
def database(self) -> str:
68+
"""Database name."""
69+
return "cassandra"
70+
6671
@property
6772
def username(self) -> Optional[str]:
6873
"""Username used in connection to Cassandra DB."""

butterfree/migrations/migrate.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)