13 lines
285 B
Python
13 lines
285 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
# Add the src directory to the Python path
|
|
src_path = str(Path(__file__).parent)
|
|
if src_path not in sys.path:
|
|
sys.path.append(src_path)
|
|
|
|
from migrations.add_direction_field import migrate_trades
|
|
|
|
if __name__ == "__main__":
|
|
migrate_trades()
|