[pull] master from Comfy-Org:master by pull[bot] · Pull Request #1120 · code/app-python-comfyui · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
2 changes: 0 additions & 2 deletions alembic_db/versions/0001_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def downgrade() -> None:

op.drop_index("ix_asset_cache_state_asset_id", table_name="asset_cache_state")
op.drop_index("ix_asset_cache_state_file_path", table_name="asset_cache_state")
op.drop_constraint("uq_asset_cache_state_file_path", table_name="asset_cache_state")
op.drop_table("asset_cache_state")

op.drop_index("ix_asset_info_tags_asset_info_id", table_name="asset_info_tags")
Expand All @@ -160,7 +159,6 @@ def downgrade() -> None:
op.drop_index("ix_tags_tag_type", table_name="tags")
op.drop_table("tags")

op.drop_constraint("uq_assets_info_asset_owner_name", table_name="assets_info")
op.drop_index("ix_assets_info_owner_name", table_name="assets_info")
op.drop_index("ix_assets_info_last_access_time", table_name="assets_info")
op.drop_index("ix_assets_info_created_at", table_name="assets_info")
Expand Down
5 changes: 4 additions & 1 deletion alembic_db/versions/0002_merge_to_asset_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@ def downgrade() -> None:
NOTE: Data is not recoverable. The upgrade discards all rows from the old
tables and truncates assets. After downgrade the old schema will be empty.
A filesystem rescan will repopulate data once the older code is running.
A filesystem rescan can repopulate only data derived from paths. It will
not restore user_metadata, manually-applied tags, preview_id nominations,
name renames, or job_id, because build_asset_specs derives names and tags
from the path alone.
"""
# Drop new tables (order matters due to FK constraints)
op.drop_index("ix_asset_reference_meta_key_val_bool", table_name="asset_reference_meta")
Expand Down
125 changes: 125 additions & 0 deletions alembic_db/versions/0007_record_content_split.py
Loading
Loading