Migrated all the data into the database