diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-09 11:05:40 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-09 11:05:40 +0000 |
commit | 626b7573082e33ca9bb906f03252986f5f611628 (patch) | |
tree | d2e39622b4f609377c11874dee5244110d3362cf /modules | |
parent | 509d570bbdc383c0d8b72c0ce5dd33fa4dc56560 (diff) | |
download | brdo-626b7573082e33ca9bb906f03252986f5f611628.tar.gz brdo-626b7573082e33ca9bb906f03252986f5f611628.tar.bz2 |
#165775 by hswong3i: profile name field has a unique key, so it should not allow NULL as a value
Diffstat (limited to 'modules')
-rw-r--r-- | modules/profile/profile.schema | 2 |
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), |