misc/migration/bootstrapmigration_repository.py
branch3.5
changeset 3305 abae9045d2e4
parent 3218 2a4bbe3fa4f3
child 3369 7b88d12b4ee2
child 3788 3d5abcd7c852
equal deleted inserted replaced
3304:2b18276b21ab 3305:abae9045d2e4
    54                           ask_confirm=False)
    54                           ask_confirm=False)
    55         rql('SET S state_of WF WHERE S state_of ET, ET eid %(et)s, WF eid %(wf)s',
    55         rql('SET S state_of WF WHERE S state_of ET, ET eid %(et)s, WF eid %(wf)s',
    56             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
    56             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
    57         rql('SET T transition_of WF WHERE T transition_of ET, ET eid %(et)s, WF eid %(wf)s',
    57         rql('SET T transition_of WF WHERE T transition_of ET, ET eid %(et)s, WF eid %(wf)s',
    58             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
    58             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
    59         rql('SET WF initial_state S WHERE ET initial_state S, S state_of ET, ET eid %(et)s, WF eid %(wf)s',
    59         rql('SET WF initial_state S WHERE ET initial_state S, ET eid %(et)s, WF eid %(wf)s',
    60             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
    60             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
    61 
    61 
    62 
    62 
    63     rql('DELETE TrInfo TI WHERE NOT TI from_state S')
    63     rql('DELETE TrInfo TI WHERE NOT TI from_state S')
    64     rql('SET TI by_transition T WHERE TI from_state FS, TI to_state TS, '
    64     rql('SET TI by_transition T WHERE TI from_state FS, TI to_state TS, '