Skip to content

Commit

Permalink
mysql: blob/text type does not allow default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Apr 7, 2013
1 parent 70874b6 commit cc89f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/schema.php
Expand Up @@ -364,7 +364,7 @@ function db_null_date() {
enabled L NOTNULL DEFAULT '0'
", array( 'mysql' => 'ENGINE=MyISAM DEFAULT CHARSET=utf8', 'pgsql' => 'WITHOUT OIDS' ) ) );
/* 65 */ $upgrade[] = array('AlterColumnSQL', array( '{user_pref}', "redirect_delay I NOTNULL DEFAULT 0" ) );
/* 66 */ $upgrade[] = array('AlterColumnSQL', array( '{custom_field}', "possible_values X NOTNULL DEFAULT ''" ) );
/* 66 */ $upgrade[] = array('AlterColumnSQL', array( '{custom_field}', "possible_values X NOTNULL" ) );
/* 67 */ $upgrade[] = array( 'CreateTableSQL', array( '{category}', "
id I UNSIGNED NOTNULL PRIMARY AUTOINCREMENT,
project_id I UNSIGNED NOTNULL DEFAULT '0',
Expand Down

0 comments on commit cc89f12

Please sign in to comment.