Changeset 1893 in ExiteCMS
- Timestamp:
- 10/20/08 08:51:26 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/shoutbox_panel/php-files/modules/shoutbox_panel/module_installer.php
r1826 r1893 17 17 $mod_title = "Shoutbox"; 18 18 $mod_description = "Shoutbox side panel"; 19 $mod_version = "1.1. 0";19 $mod_version = "1.1.1"; 20 20 $mod_developer = "WanWizard"; 21 21 $mod_email = "wanwizard@gmail.com"; … … 376 376 377 377 $mod_install_cmds = array(); 378 $mod_install_cmds[] = array('type' => 'db', 'value' => "CREATE TABLE ##PREFIX##shoutbox ( 379 shout_id smallint(5) unsigned NOT NULL auto_increment, 380 shout_name varchar(50) NOT NULL default '', 381 shout_message varchar(200) NOT NULL default '', 382 shout_datestamp int(10) unsigned NOT NULL default '0', 383 shout_ip varchar(20) NOT NULL default '0.0.0.0', 384 PRIMARY KEY (shout_id) 385 ) ENGINE=MyISAM DEFAULT CHARSET=utf8"); 378 386 379 387 /*---------------------------------------------------+ … … 382 390 383 391 $mod_uninstall_cmds = array(); 392 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DROP TABLE ##PREFIX##shoutbox"); 384 393 385 394 /*---------------------------------------------------+ … … 398 407 case "1.1.0": 399 408 // upgrade to ExiteCMS v7.1. no upgrade actions for this release 409 case "1.1.1": 410 // upgrade to ExiteCMS v7.2. no upgrade actions for this release 411 $result = dbquery"CREATE TABLE IF NOT EXISTS ".$db_prefix."shoutbox ( 412 shout_id smallint(5) unsigned NOT NULL auto_increment, 413 shout_name varchar(50) NOT NULL default '', 414 shout_message varchar(200) NOT NULL default '', 415 shout_datestamp int(10) unsigned NOT NULL default '0', 416 shout_ip varchar(20) NOT NULL default '0.0.0.0', 417 PRIMARY KEY (shout_id) 418 ) ENGINE=MyISAM DEFAULT CHARSET=utf8"); 400 419 default: 401 420 // do this at every upgrade
Note: See TracChangeset
for help on using the changeset viewer.
