kopia lustrzana https://github.com/bugout-dev/moonstream
Typo in import in moonstreamdb mmodule
rodzic
9a0d3888a1
commit
94877ae1ed
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
PYTHONPATH=".:$PYTHONPATH" alembic "$@"
|
|
@ -17,7 +17,7 @@ fileConfig(config.config_file_name)
|
||||||
# for 'autogenerate' support
|
# for 'autogenerate' support
|
||||||
# from myapp import mymodel
|
# from myapp import mymodel
|
||||||
# target_metadata = mymodel.Base.metadata
|
# target_metadata = mymodel.Base.metadata
|
||||||
from db.models import Base as ExplorationBase
|
from moonstreamdb.models import Base as ExplorationBase
|
||||||
|
|
||||||
target_metadata = ExplorationBase.metadata
|
target_metadata = ExplorationBase.metadata
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ target_metadata = ExplorationBase.metadata
|
||||||
# can be acquired:
|
# can be acquired:
|
||||||
# my_important_option = config.get_main_option("my_important_option")
|
# my_important_option = config.get_main_option("my_important_option")
|
||||||
# ... etc.
|
# ... etc.
|
||||||
from db.models import EthereumBlock, EthereumTransaction, EthereumPendingTransaction
|
from moonstreamdb.models import EthereumBlock, EthereumTransaction, EthereumPendingTransaction
|
||||||
|
|
||||||
|
|
||||||
def include_symbol(tablename, schema):
|
def include_symbol(tablename, schema):
|
||||||
|
|
Ładowanie…
Reference in New Issue