Skip to content

Migration to ORM#29

Merged
sasi2312 merged 11 commits into
devfrom
migration_orm
Aug 9, 2024
Merged

Migration to ORM#29
sasi2312 merged 11 commits into
devfrom
migration_orm

Conversation

@sasi2312

@sasi2312 sasi2312 commented Aug 9, 2024

Copy link
Copy Markdown
Collaborator
  • All queries converted into ORM (raw query also there)
  • Need to add env keys for postgres connection
  • Have to insatll sqlalchemy and postgres packages

Comment thread db.py Outdated

def postgres_query(query,params=None):
try:
conn = SupabaseInterface.get_postgres_connection()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we still referring to supabase?

Comment thread query.py Outdated

def get_issue_query():
query = """
SELECT

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we check this again

@sasi2312 sasi2312 merged commit d9e4cb0 into dev Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants