changemes of the DB in order to put the dates conditions in the table conditions
merge