Remove reference to non-existant session_scope.
This commit is contained in:
parent
808d4b6621
commit
cdd321e1ee
@ -13,7 +13,6 @@ down_revision = None
|
|||||||
from alembic import op
|
from alembic import op
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
|
||||||
from accountant import session_scope
|
|
||||||
from accountant.api.models.scheduled_operations import ScheduledOperation
|
from accountant.api.models.scheduled_operations import ScheduledOperation
|
||||||
|
|
||||||
|
|
||||||
@ -52,7 +51,6 @@ def upgrade():
|
|||||||
"alter sequence entry_id_seq rename to operation_id_seq"
|
"alter sequence entry_id_seq rename to operation_id_seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO Alexis Lahouze 2015-07-17 Insert scheduling.
|
|
||||||
connection = op.get_bind()
|
connection = op.get_bind()
|
||||||
Session = sa.orm.sessionmaker()
|
Session = sa.orm.sessionmaker()
|
||||||
session = Session(bind=connection)
|
session = Session(bind=connection)
|
||||||
|
Loading…
Reference in New Issue
Block a user