add db, migrate