You are here

function fb_feed_install in Drupal for Facebook 5.2

File

./fb_feed.install, line 2

Code

function fb_feed_install() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      db_query("\nCREATE TABLE IF NOT EXISTS {fb_feed_template} (\nnid int(11) unsigned NOT NULL,\nfb_app_nid int(11) unsigned NOT NULL,\napikey varchar(128) NOT NULL,\nbundle_id BIGINT UNSIGNED NOT NULL,\nfb_feed_data longtext,\nPRIMARY KEY (nid)\n) /*!40100 DEFAULT CHARACTER SET UTF8 */;\n");
  }
}