Typo in import in moonstreamdb mmodule

pull/21/head
kompotkot 2021-07-27 21:22:14 +00:00
rodzic 9a0d3888a1
commit 94877ae1ed
2 zmienionych plików z 5 dodań i 2 usunięć

3
db/alembic.sh 100755
Wyświetl plik

@ -0,0 +1,3 @@
#!/usr/bin/env sh
PYTHONPATH=".:$PYTHONPATH" alembic "$@"

Wyświetl plik

@ -17,7 +17,7 @@ fileConfig(config.config_file_name)
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata
from db.models import Base as ExplorationBase
from moonstreamdb.models import Base as ExplorationBase
target_metadata = ExplorationBase.metadata
@ -25,7 +25,7 @@ target_metadata = ExplorationBase.metadata
# can be acquired:
# my_important_option = config.get_main_option("my_important_option")
# ... etc.
from db.models import EthereumBlock, EthereumTransaction, EthereumPendingTransaction
from moonstreamdb.models import EthereumBlock, EthereumTransaction, EthereumPendingTransaction
def include_symbol(tablename, schema):