You are here

function tweet_feed_install in Tweet Feed 7

Same name and namespace in other branches
  1. 6 tweet_feed.install \tweet_feed_install()
  2. 7.3 tweet_feed.install \tweet_feed_install()

Implements hook_install().

This is necessary because of our update hook 7109. we can't add a primary key to a field that is null. so we need to remove it from the schema on install and add it later for fresh installs

File

./tweet_feed.install, line 96

Code

function tweet_feed_install() {
  db_add_primary_key('tweet_feed', array(
    'tweet_id',
  ));
}