[geeklog-cvs] geeklog-1.3/sql/updates mysql_1.3.9_to_1.3.10.php,1.11,1.12

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Tue Aug 3 06:53:30 EDT 2004


Update of /var/cvs/geeklog-1.3/sql/updates
In directory www:/tmp/cvs-serv19213/updates

Modified Files:
	mysql_1.3.9_to_1.3.10.php 
Log Message:
Removed extra quotes; fixed SQL error


Index: mysql_1.3.9_to_1.3.10.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/sql/updates/mysql_1.3.9_to_1.3.10.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** mysql_1.3.9_to_1.3.10.php	1 Aug 2004 21:37:51 -0000	1.11
--- mysql_1.3.9_to_1.3.10.php	3 Aug 2004 10:53:27 -0000	1.12
***************
*** 110,115 ****
  
  // Add new fields for Story Archive feature 
! $_SQL[] = "ALTER TABLE {$_TABLES['stories']} ADD `expire` DATETIME NOT NULL AFTER `statuscode";
! $_SQL[] = "ALTER TABLE {$_TABLES['topics']} ADD `archive_flag` tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER `is_default";
  
! ?>
\ No newline at end of file
--- 110,115 ----
  
  // Add new fields for Story Archive feature 
! $_SQL[] = "ALTER TABLE {$_TABLES['stories']} ADD expire DATETIME NOT NULL AFTER statuscode";
! $_SQL[] = "ALTER TABLE {$_TABLES['topics']} ADD archive_flag tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER is_default";
  
! ?>




More information about the geeklog-cvs mailing list