DAN-118 Jira connector (#102)

* Small confluence page QoL changes

* Prevent getting into a bad state with orphan connectors for Jira / Confluence

* Jira connector + admin page
---------

Co-authored-by: Weves <chrisweaver101@gmail.com>
This commit is contained in:
Yuhong Sun
2023-06-24 17:48:38 -07:00
committed by GitHub
parent 3701239283
commit 03006743ab
20 changed files with 595 additions and 49 deletions

View File

@@ -27,6 +27,11 @@ def wipe_all_rows(database: str) -> None:
table_names = cur.fetchall()
# have to delete from these first to not run into psycopg2.errors.ForeignKeyViolation
cur.execute(f"DELETE FROM connector_credential_pair")
cur.execute(f"DELETE FROM index_attempt")
conn.commit()
for table_name in table_names:
if table_name[0] == "alembic_version":
continue