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

JobPost ⇔ Board needs a primary relationship #417

Open
jace opened this issue Feb 27, 2018 · 0 comments
Open

JobPost ⇔ Board needs a primary relationship #417

jace opened this issue Feb 27, 2018 · 0 comments

Comments

@jace
Copy link
Member

jace commented Feb 27, 2018

We have a BoardJobPost model, but it represents a regular many-to-many relationship. There is no record of the board that the post was originally added to. This is necessary when we give board owners rights over job posts.

add_primary_relationship added in hasgeek/coaster#133 is an option, but since it needs a separate table, we could consider the other option discussed but set aside in that ticket: a primary boolean column with a unique constraint, with possible values of True or None.

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

No branches or pull requests

1 participant