mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
fix alembic downgrade script of 7b8f0011e0b0
This commit is contained in:
+3
-2
@@ -36,6 +36,7 @@ def upgrade() -> None:
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column("user_stats", "streak_days")
|
||||
op.drop_column("user_stats", "streak_last_day_date")
|
||||
op.drop_column("user", "streak_days")
|
||||
op.drop_column("user", "streak_last_day_date")
|
||||
op.drop_column("user", "last_activity_date")
|
||||
# ### end Alembic commands ###
|
||||
|
||||
Reference in New Issue
Block a user