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 project_topics table schema #57

Merged
merged 2 commits into from
Feb 14, 2018

Conversation

rtlee9
Copy link
Contributor

@rtlee9 rtlee9 commented Jan 24, 2018

Looks like the project_topics table was added in this migration, but no schema was added -- this PR adds the corresponding schema to sql/schema.sql in the same style as the other schemas. Tested locally (MariaDB 10.2.12 on Ubuntu 16.04) using the latest mysql dump from ghtorrent.org.

@dspinellis
Copy link
Collaborator

To be consistent with the migration I think you also need to add the following.

PRIMARY KEY (`project_id`, `topic_name`)  COMMENT '',

@dspinellis dspinellis merged commit 89ca5eb into gousiosg:master Feb 14, 2018
@dspinellis
Copy link
Collaborator

Thank you!

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.

None yet

2 participants