-- Update Case Hour form dropdown and remove unused fields

UPDATE form_elements
   SET options_table = 'cases',
       options_label_column = 'title',
       options_value_column = 'id'
 WHERE form_id = 38 AND field_name = 'case_id';

DELETE FROM form_elements
 WHERE form_id = 38 AND field_name IN ('user_id','billed_to_client','approved');
