Skip to content

Commit 9fba188

Browse files
Merge pull request #74 from goldlabelapps/staging
Bump package version to 2.1.8
2 parents f740b8d + 05e6e5b commit 9fba188

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Python - FastAPI, Postgres, tsvector"""
22

33
# Current Version
4-
__version__ = "2.1.7"
4+
__version__ = "2.1.8"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import os
2+
import sys
3+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../../../..')))
4+
from app.utils.db import get_db_connection_direct
5+
6+
if __name__ == "__main__":
7+
sql = """
8+
UPDATE prospects
9+
SET flag = FALSE, hide = FALSE;
10+
"""
11+
conn = get_db_connection_direct()
12+
cur = conn.cursor()
13+
cur.execute(sql)
14+
conn.commit()
15+
cur.close()
16+
conn.close()
17+
print("All prospects' flag and hide columns have been reset to FALSE.")

0 commit comments

Comments
 (0)