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

fix foreign key string column sizes #791

Merged
merged 1 commit into from
Jul 22, 2016
Merged

fix foreign key string column sizes #791

merged 1 commit into from
Jul 22, 2016

Conversation

aljones
Copy link
Contributor

@aljones aljones commented Jul 20, 2016

Changes the foreign keys DruidMetric.datasource_name and DruidColumn.datasource_name to match the referenced column size.

Also changes the migration script that creates the foreign keys. Was this the best thing to do? Should I also create a new migration script for existing databases?

This fixes #337.

@coveralls
Copy link

coveralls commented Jul 20, 2016

Coverage Status

Coverage remained the same at 81.185% when pulling d81d39c on aljones:bugfix-datasources-fk into 83d5ad2 on airbnb:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MsSql: Upgrade db failed - pyodbc - column length discrepancy
3 participants