- Database: Update -> Drop and Create

- 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
This commit is contained in:
Reeverflow
2026-02-22 18:37:53 +01:00
parent 44ccc885ee
commit afbff59d49
8 changed files with 59 additions and 8 deletions

View File

@@ -2,4 +2,4 @@ spring.application.name=video_downloader
spring.datasource.url = jdbc:postgresql://localhost:5432/videos
spring.datasource.username = postgres
spring.datasource.password = 5995
spring.jpa.hibernate.ddl-auto = update
spring.jpa.hibernate.ddl-auto = create-drop