Fix correct creation of the CAD database
We did not account that after copying the code database, we lose the schema for the cad tables. We need to create them again.
Edited by Tomaz Canabrava
We did not account that after copying the code database, we lose the schema for the cad tables. We need to create them again.