- Added SQL constraints added to respective tables see list below:
-- video_playlist: video_id playlist_id
-- Foreign keys reference originals, on delete cascade on both
- Added Java JPA Entity column name mapping to snake_case instead of using base Java camelCase
- Removed PostConstruct from services
- Extended Video with MANYTOONE Playlist
- Extended Video with ONETOONE creator
- Extended Playlist with MANYTOMANY with videos
- Created Creator
- Extended Creator with OneToMany to videos
- VideoController now listens to POST on /fire, expects RequestBody input:true
Added findByStatus, any entry with NEW status in the db will have their url returned.
Currently to add entries to the database POSTMAN or other apps need to be used.