summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/profile/profile.schema2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.schema b/modules/profile/profile.schema
index 64bf35620..b36cce9dc 100644
--- a/modules/profile/profile.schema
+++ b/modules/profile/profile.schema
@@ -6,7 +6,7 @@ function profile_schema() {
'fields' => array(
'fid' => array('type' => 'serial', 'not null' => TRUE),
'title' => array('type' => 'varchar', 'length' => 255, 'not null' => FALSE),
- 'name' => array('type' => 'varchar', 'length' => 128, 'not null' => FALSE),
+ 'name' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
'explanation' => array('type' => 'text', 'not null' => FALSE),
'category' => array('type' => 'varchar', 'length' => 255, 'not null' => FALSE),
'page' => array('type' => 'varchar', 'length' => 255, 'not null' => FALSE),