Subversion Repositories oidplus

Rev

Rev 246 | Rev 261 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 246 Rev 250
Line 22... Line 22...
22
// Parameters: $this is the OIDplusDatabasePlugin class
22
// Parameters: $this is the OIDplusDatabasePlugin class
23
//             $version is the current version (this script MUST increase the number by 1 when it is done)
23
//             $version is the current version (this script MUST increase the number by 1 when it is done)
24
 
24
 
25
if (!defined('IN_OIDPLUS')) die();
25
if (!defined('IN_OIDPLUS')) die();
26
 
26
 
27
if (!isset($version)) throw new Exception("Argument 'version' is missing; was the file included in a wrong way?");
27
if (!isset($version)) throw new OIDplusException("Argument 'version' is missing; was the file included in a wrong way?");
28
if (!isset($this))    throw new Exception("Argument 'this' is missing; was the file included in a wrong way?");
28
if (!isset($this))    throw new OIDplusException("Argument 'this' is missing; was the file included in a wrong way?");
29
 
29
 
30
$this->transaction_begin();
30
$this->transaction_begin();
31
 
31
 
32
$this->query("ALTER TABLE ".OIDPLUS_TABLENAME_PREFIX."objects ADD comment varchar(255) NULL");
32
$this->query("ALTER TABLE ".OIDPLUS_TABLENAME_PREFIX."objects ADD comment varchar(255) NULL");
33
 
33