Skip to content

Conversation

@fhuzjan
Copy link
Collaborator

@fhuzjan fhuzjan commented Jul 17, 2025

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

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

How did you know which tables to create?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They are listed in the models.py file.

Comment on lines 173 to 174
memory_id = Column(UUID, ForeignKey(f"{SCHEMA_NAME}.memories.id"), nullable=False, index=True)
changed_by = Column(UUID, ForeignKey(f"{SCHEMA_NAME}.users.id"), nullable=False, index=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you need to do this if you have the proper setup in env.py - you can just have "memories.id", for example

@maticdorian
Copy link
Collaborator

Should we use pydantic-settings for this project as well, to handle loading env variables?

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