diff --git a/db.py b/db.py index ef4fb1a7..94b1862f 100644 --- a/db.py +++ b/db.py @@ -5,8 +5,9 @@ import coloredlogs from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship from sqlalchemy.ext.hybrid import hybrid_property +# noinspection PyUnresolvedReferences from sqlalchemy import Column, BigInteger, Integer, String, DateTime, ForeignKey, Float, Enum, create_engine, \ - UniqueConstraint, PrimaryKeyConstraint, Boolean, LargeBinary, Text, Date + UniqueConstraint, PrimaryKeyConstraint, Boolean, LargeBinary, Text, Date, func from sqlalchemy.inspection import inspect import requests import errors diff --git a/update.sh b/update.sh index ca715b55..b5753dd1 100755 --- a/update.sh +++ b/update.sh @@ -2,6 +2,7 @@ # Requires SENTRY_AUTH_TOKEN and SENTRY_ORG set in .sentryclirc old=$(git rev-list HEAD -n 1) +git stash git pull git lfs pull new=$(git rev-list HEAD -n 1)