| Line 106... | Line 106... | 
          
            | 106 |          'name' => array('required' => true , 'type' => 'string' , 'width' => 255),
 | 106 |          'name' => array('required' => true , 'type' => 'string' , 'width' => 255),
 | 
          
            | 107 |          'site_id' => array('type' => 'lookup', 'table' => 'site', 'keyfield' => 'site_id', 'display_field' => 'name'),
 | 107 |          'site_id' => array('type' => 'lookup', 'table' => 'site', 'keyfield' => 'site_id', 'display_field' => 'name'),
 | 
          
            | 108 |          'device_id' => array('keyfield' => true , 'required' => true , 'readonly' => true , 'type' => 'int' , 'width' => 10),
 | 108 |          'device_id' => array('keyfield' => true , 'required' => true , 'readonly' => true , 'type' => 'int' , 'width' => 10),
 | 
          
            | 109 |          /* Just a place to record some notes */
 | 109 |          /* Just a place to record some notes */
 | 
          
            | 110 |          'notes' => array('type' => 'text'),
 | 110 |          'notes' => array('type' => 'text'),
 | 
          
            | - |   | 111 |          /* Just a place to record some notes */
 | 
          
            | - |   | 112 |          'restrictions' => array('type' => 'text'),
 | 
          
            | 111 |          /* date record was added */
 | 113 |          /* date record was added */
 | 
          
            | 112 |          'added_date' => array('required' => true , 'type' => 'datetime')
 | 114 |          'added_date' => array('required' => true , 'type' => 'datetime')
 | 
          
            | 113 |       )
 | 115 |       )
 | 
          
            | 114 |    ),
 | 116 |    ),
 | 
          
            | 115 |    /* links devices and their attributes together */
 | 117 |    /* links devices and their attributes together */
 |