Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ports column to certificate_associations table #1

Open
wants to merge 38 commits into
base: expiring-deployed-certs-notification
Choose a base branch
from

Conversation

jtschladen
Copy link
Owner

No description provided.

)
domain_id = Column(Integer, ForeignKey("domains.id"), primary_key=True)
certificate_id = Column(Integer, ForeignKey("certificates.id"), primary_key=True)
ports = Column(Text())
Copy link

Choose a reason for hiding this comment

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

I know this is just initial version, still one thought.
Postgres support integer array as data type. Are you planning to use that and is there a Column type for that instead of Text().

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks, you're completely right about this. I realized as a result of this comment that I was never committing the changes to the DB - once I added the commit, it broke. Using an integer array column works perfectly.

@jtschladen jtschladen changed the base branch from expiring-deployed-certs-notification to certificate_associations-port-column May 8, 2021 00:10
@jtschladen jtschladen changed the base branch from certificate_associations-port-column to expiring-deployed-certs-notification May 8, 2021 00:13
dependabot bot and others added 11 commits May 10, 2021 20:14
…ons-port-column

Add ports column to certificate_associations
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