Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mantis committed Jul 22, 2007
1 parent 71c10f8 commit 01a91e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/schema.php
Expand Up @@ -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
Expand Down Expand Up @@ -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" ) );
?>

0 comments on commit 01a91e0

Please sign in to comment.