Migrate course page to the new database schema.