Changeset 1251


Ignore:
Timestamp:
09-12-10 16:23:39 (6 years ago)
Author:
work@…
Message:
  • template_template_field references needed to be removed as well
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/DatabaseUpgrade.groovy

    r1250 r1251  
    5656                                sql.execute("DELETE FROM study_template_text_fields WHERE template_text_fields_idx='Description'") 
    5757 
     58                                // delete all template_template_field references 
     59                                sql.execute("DELETE FROM template_template_field WHERE template_field_id=${id}") 
     60 
    5861                                // and delete the obsolete template field 
    5962                                sql.execute("DELETE FROM template_field WHERE id=${id}") 
Note: See TracChangeset for help on using the changeset viewer.