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

Diff of /contributions/modules/roledelay/roledelay.install

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

revision 1.1, Wed Jul 26 16:36:09 2006 UTC revision 1.2, Sat Oct 21 01:12:27 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: roledelay.install,v 1.1 2006/07/26 16:36:09 handelaar Exp $
3    
4  function roledelay_install() {  function roledelay_install() {
5    switch ($GLOBALS['db_type']) {    switch ($GLOBALS['db_type']) {
# Line 8  function roledelay_install() { Line 8  function roledelay_install() {
8      db_query("CREATE TABLE {roledelay1} (      db_query("CREATE TABLE {roledelay1} (
9          uid int(11) NOT NULL default '0',          uid int(11) NOT NULL default '0',
10          waitstamp int(11) NOT NULL default '0',          waitstamp int(11) NOT NULL default '0',
11          KEY waitstamp (waitstamp)");          KEY waitstamp (waitstamp)) /*!40100 DEFAULT CHARACTER SET utf8 */;");
12      db_query("CREATE TABLE {roledelay2} (      db_query("CREATE TABLE {roledelay2} (
13          uid int(11) NOT NULL default '0',          uid int(11) NOT NULL default '0',
14          waitstamp int(11) NOT NULL default '0',          waitstamp int(11) NOT NULL default '0',
15          KEY waitstamp (waitstamp)");          KEY waitstamp (waitstamp)) /*!40100 DEFAULT CHARACTER SET utf8 */;");
16        break;        break;
17    
18      case 'pgsql':      case 'pgsql':

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2