In the root
Replace the following file with its 1.2.7 counterpart:
Manual clean-up of some Activiti tables can be performed.
- approve / reject any pending request
- shut down the Java EE container running Apache Syncope core
- execute the queries below
- start up again the Java EE container with Apache Syncope core