Merge pull request #61 from liosha84/58-delete-tutorial-and-delete-many-tutorials-functionality

Update application properties for development profile and adjust casc…
This commit is contained in:
liosha84
2025-08-04 13:31:37 +03:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -27,7 +27,7 @@ public class Tutorial {
@Column(name = "tobepublished") @Column(name = "tobepublished")
private boolean tobepublished; private boolean tobepublished;
@ManyToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL) @ManyToOne(fetch = FetchType.EAGER, cascade = CascadeType.PERSIST)
@JoinColumn(name = "userID", nullable = false) @JoinColumn(name = "userID", nullable = false)
private User user; private User user;
+2 -2
View File
@@ -1,4 +1,4 @@
#bootJar with profile prod #bootJar with profile prod
spring.profiles.active=prod #spring.profiles.active=prod
#spring.profiles.active=dev spring.profiles.active=dev