Move pages content to database