odify to sqlite and activeadmin