Create mapping on DB, fix DB script for creation database