Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ZGENERICASSET to ZASSET #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
14 changes: 7 additions & 7 deletions dogsheep_photos/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ def apple_photos(db_path, library, image_url_prefix, image_url_suffix):
db.conn.execute(
"""
create table apple_photos_scores as select
ZGENERICASSET.ZUUID,
ZGENERICASSET.ZOVERALLAESTHETICSCORE,
ZGENERICASSET.ZCURATIONSCORE,
ZGENERICASSET.ZPROMOTIONSCORE,
ZGENERICASSET.ZHIGHLIGHTVISIBILITYSCORE,
ZASSET.ZUUID,
ZASSET.ZOVERALLAESTHETICSCORE,
ZASSET.ZCURATIONSCORE,
ZASSET.ZPROMOTIONSCORE,
ZASSET.ZHIGHLIGHTVISIBILITYSCORE,
ZCOMPUTEDASSETATTRIBUTES.ZBEHAVIORALSCORE,
ZCOMPUTEDASSETATTRIBUTES.ZFAILURESCORE,
ZCOMPUTEDASSETATTRIBUTES.ZHARMONIOUSCOLORSCORE,
Expand All @@ -235,9 +235,9 @@ def apple_photos(db_path, library, image_url_prefix, image_url_suffix):
ZCOMPUTEDASSETATTRIBUTES.ZWELLFRAMEDSUBJECTSCORE,
ZCOMPUTEDASSETATTRIBUTES.ZWELLTIMEDSHOTSCORE
from
attached.ZGENERICASSET
attached.ZASSET
join attached.ZCOMPUTEDASSETATTRIBUTES on
attached.ZGENERICASSET.Z_PK = attached.ZCOMPUTEDASSETATTRIBUTES.ZASSET;
attached.ZASSET.Z_PK = attached.ZCOMPUTEDASSETATTRIBUTES.ZASSET;
"""
)
db["apple_photos_scores"].create_index(["ZUUID"])
Expand Down