diff -r caef98aa4a98 -r 59220b704562 server/schemahooks.py --- a/server/schemahooks.py Thu Sep 17 19:38:04 2009 +0200 +++ b/server/schemahooks.py Fri Sep 18 11:24:37 2009 +0200 @@ -759,8 +759,7 @@ def after_del_eetype(session, eid): # workflow cleanup - session.execute('DELETE State X WHERE NOT X state_of Y') - session.execute('DELETE Transition X WHERE NOT X transition_of Y') + session.execute('DELETE Workflow X WHERE NOT X workflow_of Y') def before_del_ertype(session, eid):