migrate all to DB