[geeklog-cvs] Geeklog-1.x/plugins/staticpages/sql mssql_install.php, 1.4, 1.5

Michael Jervis mjervis at qs1489.pair.com
Tue Aug 12 14:13:39 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/sql
In directory qs1489.pair.com:/tmp/cvs-serv42964/plugins/staticpages/sql

Modified Files:
	mssql_install.php 
Log Message:
Fixed table prefix issues with constraints (bug #0000702)

Index: mssql_install.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/sql/mssql_install.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mssql_install.php	9 Aug 2007 18:29:34 -0000	1.4
--- mssql_install.php	12 Aug 2008 18:13:35 -0000	1.5
***************
*** 65,70 ****
  
  $_SQL[] = "ALTER TABLE [dbo].[{$_TABLES['staticpage']}] ADD
!     CONSTRAINT [DF_gl_staticpage] DEFAULT ('html') FOR [postmode],
! 	CONSTRAINT [PK_gl_staticpage] PRIMARY KEY  CLUSTERED
  	(
  		[sp_id]
--- 65,70 ----
  
  $_SQL[] = "ALTER TABLE [dbo].[{$_TABLES['staticpage']}] ADD
!     CONSTRAINT [DF_{$_TABLES['staticpage']}] DEFAULT ('html') FOR [postmode],
! 	CONSTRAINT [PK_{$_TABLES['staticpage']}] PRIMARY KEY  CLUSTERED
  	(
  		[sp_id]




More information about the geeklog-cvs mailing list