Personal Environment: Database Cleanup Function
1435
Views
2
Comments
Implemented
Service Studio
OutSystems 9
Database Integrity Suggestion - Inconsistent database table and entity definitions: column 'OSUSR_45r_Restring.CLIENTTYPEID' exists in database, but there is no corresponding attribute in entity 'Restring'.

The ability to right click on a Database Integrity Suggestion and delete a database field would be handy.

Cheers,
GH

+1 This isn't specific to the personal environment.
2016-11-21 23-23-05
Gonçalo Borrêga
The new DbCleaner API was designed for this purpose. Check the documentation to understand the required privileges when using it.
As a lot of you mentioned, this is a very sensitive operation that we must ensure is only performed by the right person and under the right conditions. Therefore we will not make it available from the Studio.


This component at the Forge shows a small example of how to use the API. You can use it to adapt to your own security restrictions and policies.