/[drupal]/contributions/modules/signup_scheduler/signup_scheduler.install
ViewVC logotype

Contents of /contributions/modules/signup_scheduler/signup_scheduler.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Dec 20 19:12:21 2007 UTC (23 months, 1 week ago) by jrbeeman
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
File MIME type: text/x-php
Adding container for signup scheduler module, which allows signups to be opened and closed on a schedule
1 <?php
2
3 function signup_scheduler_install() {
4 switch ($GLOBALS['db_type']) {
5 case 'mysqli':
6 case 'mysql':
7 $q1 = db_query("CREATE TABLE IF NOT EXISTS {signup_scheduler} (
8 nid int(10) unsigned NOT NULL default '0',
9 status int(2) NOT NULL default '0',
10 open varchar(11) NOT NULL,
11 close int(11) NOT NULL,
12 PRIMARY KEY (nid)
13 ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
14 break;
15 }
16 }

  ViewVC Help
Powered by ViewVC 1.1.2