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

Create CodeExample Entity #31

Closed
bsmmoon opened this issue Feb 2, 2016 · 3 comments
Closed

Create CodeExample Entity #31

bsmmoon opened this issue Feb 2, 2016 · 3 comments
Assignees
Milestone

Comments

@bsmmoon
Copy link

bsmmoon commented Feb 2, 2016

id, version_id, name, path, boards
Unique index on: version_id

Renamed from Example to CodeExample.

@Gisonrg
Copy link

Gisonrg commented Feb 5, 2016

We have a problem here if version_id is unique:
what if there are more than 1 examples for the same version?
I met this issue when I was populating fixtures.

@bsmmoon
Copy link
Author

bsmmoon commented Feb 6, 2016

What about we make (version_id, name) combination as a unique constraint?

@bsmmoon
Copy link
Author

bsmmoon commented Feb 6, 2016

OK since this problem is addressed in #36 as well, let's discuss over there.

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

3 participants