The code is added into a plugin, but one can also just copy and paste it into the child theme functions file or another php file.
paaljoachim/movie-post-type-admin-columns
Add a custom movie post type and adjust the post and custom movie list screens
PHP