#165775 by hswong3i: profile name field has a unique key, so it should not allow NULL as a value
parent
509d570bbd
commit
626b757308
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue