Database migration (for metadatas) is working

Insert metadatas - hebs links
Create new tables
Remove old columns
Handle UTF-8 problems