Changeset 17924 for extensions/skeleton/include/install.inc.php
- Timestamp:
- Sep 15, 2012, 1:16:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/skeleton/include/install.inc.php
r17899 r17924 9 9 * - use "if empty" for configuration vars 10 10 * - use "IF NOT EXISTS" for table creation 11 * 12 * Unlike the functions in maintain.inc.php, the name of this function must be unique 13 * and not enter in conflict with other plugins. 11 14 */ 12 15 … … 29 32 // add a new table 30 33 pwg_query(' 31 CREATE TABLE IF NOT EXISTS `'. $prefixeTable.'skeleton` (34 CREATE TABLE IF NOT EXISTS `'. $prefixeTable .'skeleton` ( 32 35 `id` int(11) unsigned NOT NULL AUTO_INCREMENT, 33 36 `field1` mediumint(8) DEFAULT NULL, 34 37 `field2` varchar(64) NOT NULL, 35 38 PRIMARY KEY (`id`) 36 ) DEFAULT CHARSET=utf839 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 37 40 ;'); 38 41
Note: See TracChangeset
for help on using the changeset viewer.