style: tabify for consistency
This commit is contained in:
parent
1b590cefd7
commit
e4f982328f
23 changed files with 587 additions and 587 deletions
|
@ -22,9 +22,9 @@ branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
db =Session(bind=op.get_bind())
|
db: Session = Session(bind=op.get_bind())
|
||||||
bulk_recompute_descendant_counts(lambda q: q, db)
|
bulk_recompute_descendant_counts(lambda q: q, db)
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
db =Session(bind=op.get_bind())
|
db: Session = Session(bind=op.get_bind())
|
||||||
db.execute(update(Comment).values(descendant_count=0))
|
db.execute(update(Comment).values(descendant_count=0))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue