Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 0.799 kb
<?php
/**
* @file: install routines for the Node Announce module
*/
/**
* Implementation of hook_install()
*/
function meetup_events_install() {
drupal_install_schema('meetup_events');
}
/**
* Implementation of hook_uninstall()
*/
function meetup_events_uninstall() {
drupal_uninstall_schema('meetup_events');
}
/**
* Implementation of hook_schema()
*/
function meetup_events_schema() {
$schema = array();
$schema['meetup_events'] = array(
'fields' => array(
'nid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE),
'id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE),
'last_updated' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE)
),
'primary key' => array('nid'),
);
return $schema;
}
Jump to Line
Something went wrong with that request. Please try again.