#165775 by hswong3i: profile name field has a unique key, so it should not allow NULL as a value

6.x
Gábor Hojtsy 2007-08-09 11:05:40 +00:00
parent 509d570bbd
commit 626b757308
1 changed files with 1 additions and 1 deletions

View File

@ -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),