-
-
Save amygdala/cffeba6df6043c328d42 to your computer and use it in GitHub Desktop.
schema changes to existing tables (streaming3 branch -> streaming 4 branch)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alter table tu_hashtags drop key hashtag; | |
alter table tu_hashtags add unique key hashtag (network, hashtag); | |
alter table tu_post_locations add network varchar(20) not NULL default 'twitter'; | |
alter table tu_post_locations drop index post_id; | |
alter table tu_post_locations add unique key post_id (network, post_id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment