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

meta: move relation.pk_column_id to table.pk_column_id #9

Open
erichanson opened this issue Feb 1, 2019 · 0 comments
Open

meta: move relation.pk_column_id to table.pk_column_id #9

erichanson opened this issue Feb 1, 2019 · 0 comments

Comments

@erichanson
Copy link
Collaborator

Not everything in meta.relation has a primary key, because views, foreign tables, etc. do not have "real" primary keys. Remove meta.relation.primary_key_column_ids, and put it on meta.table instead. While we're at it, rename meta.column.relation_id to meta.column.table_id.

@erichanson erichanson transferred this issue from aquametalabs/aquameta Oct 2, 2019
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