move repository data to DB