This commit is contained in:
@@ -27,15 +27,9 @@ def upgrade() -> None:
|
||||
"tasks",
|
||||
["user_id", "list_id", "deleted_at", "parent_id", "created_at", "id"],
|
||||
)
|
||||
op.create_index(
|
||||
"ix_habit_logs_habit_day",
|
||||
"habit_logs",
|
||||
["habit_id", "day"],
|
||||
)
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
op.drop_index("ix_habit_logs_habit_day", table_name="habit_logs")
|
||||
op.drop_index("ix_tasks_user_list_active", table_name="tasks")
|
||||
op.drop_index("ix_tasks_user_due", table_name="tasks")
|
||||
op.drop_index("ix_tasks_user_active_created", table_name="tasks")
|
||||
|
||||
Reference in New Issue
Block a user