summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/system.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 50ebba38d..a8f7f0aaf 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -561,7 +561,7 @@ function system_install() {
message longtext NOT NULL,
severity tinyint unsigned NOT NULL default '0',
link varchar(255) NOT NULL default '',
- location text NOT NULL default '',
+ location text NOT NULL,
referer varchar(128) NOT NULL default '',
hostname varchar(128) NOT NULL default '',
timestamp int NOT NULL default '0',
@@ -3394,7 +3394,7 @@ function system_update_1016() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
- $ret[] = update_sql("ALTER TABLE {watchdog} CHANGE COLUMN location location text NOT NULL default ''");
+ $ret[] = update_sql("ALTER TABLE {watchdog} CHANGE COLUMN location location text NOT NULL");
break;
case 'pgsql':
db_change_column($ret, 'watchdog', 'location', 'location', 'text', array('not null' => TRUE, 'default' => "''"));