소스 검색

Explicitly include ownership_id in expired_orders results

Eren Yilmaz 5 년 전
부모
커밋
48a9eab8d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      model.py

+ 1 - 1
model.py

@@ -856,7 +856,7 @@ def drop_expired_orders():
     connect()
 
     cursor.execute('''
-        SELECT rowid, * FROM orders 
+        SELECT rowid, ownership_id, * FROM orders 
         WHERE expiry_dt < DATETIME('now')
         ''')