redo devise database config