Changeset 398 for branches/Modular/Common/Model.php
- Timestamp:
- Mar 13, 2012, 4:08:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modular/Common/Model.php
r378 r398 33 33 var $Module; 34 34 var $Installed; 35 var $Parent; 35 36 36 37 function __construct($Database, $System) … … 181 182 if($Property['Null']) $Null = 'NULL'; 182 183 else $Null = 'NOT NULL'; 184 $Null = 'NULL'; 183 185 if($Property['Type'] == PropertyDateTime) 184 186 $Query .= '`'.$Property['Name'].'` DATETIME '.$Null.','; … … 223 225 } 224 226 $Query .= 'PRIMARY KEY (`Id`)'. 225 ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci AUTO_INCREMENT=1 227 ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci AUTO_INCREMENT=1;'; 226 228 $this->Database->query($Query); 227 229 foreach($this->Properties as $Property)
Note:
See TracChangeset
for help on using the changeset viewer.