From 01a91e0e6e7072e8b9d8dcdaed35e70ed56c0580 Mon Sep 17 00:00:00 2001 From: Paul Richards Date: Sun, 22 Jul 2007 19:51:18 +0000 Subject: [PATCH] mssql upgrade fix: default '' isn't valid in an alter table in mssql. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4465 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- admin/schema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/schema.php b/admin/schema.php index b1a934e857..afbe7fa81a 100644 --- a/admin/schema.php +++ b/admin/schema.php @@ -5,7 +5,7 @@ # This program is distributed under the terms and conditions of the GPL # See the README and LICENSE files for details # -------------------------------------------------------- - # $Id: schema.php,v 1.18 2007-07-16 18:07:05 prichards Exp $ + # $Id: schema.php,v 1.19 2007-07-22 19:51:18 prichards Exp $ # -------------------------------------------------------- # Each entry below defines the schema. The upgrade array consists of @@ -329,5 +329,5 @@ $upgrade[] = Array('AddColumnSQL',Array(config_get('mantis_bugnote_table'), "time_tracking I UNSIGNED NOTNULL DEFAULT \" 0 \"")); $upgrade[] = Array('CreateIndexSQL',Array('idx_diskfile',config_get('mantis_bug_file_table'),'diskfile')); $upgrade[] = Array('AlterColumnSQL', Array( config_get( 'mantis_user_print_pref_table' ), "print_pref C(64) NOTNULL" ) ); -$upgrade[] = Array('AlterColumnSQL', Array( config_get( 'mantis_bug_history_table' ), "field_name C(64) NOTNULL DEFAULT \" '' \"" ) ); +$upgrade[] = Array('AlterColumnSQL', Array( config_get( 'mantis_bug_history_table' ), "field_name C(64) NOTNULL" ) ); ?>