[AB-263] adding stricter not null checks to database, disabling updates/inserts for created and updated columns to only rely on triggers

This commit is contained in:
Sheldan
2021-05-23 14:17:03 +02:00
parent 04a7cfafd7
commit 13a6e1fdca
145 changed files with 1204 additions and 350 deletions

View File

@@ -22,25 +22,25 @@ public class SchedulerJob implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id")
@Column(name = "id", nullable = false)
private Long id;
/**
* The name of the job
*/
@Column(name = "name")
@Column(name = "name", nullable = false)
private String name;
/**
* The group of the job
*/
@Column(name = "group_name")
@Column(name = "group_name", nullable = false)
private String groupName;
/**
* The absolute path of a class extending {@link org.springframework.scheduling.quartz.QuartzJobBean} which should be executed by this job
*/
@Column(name = "clazz")
@Column(name = "clazz", nullable = false)
private String clazz;
/**