Skip to content

Commit

Permalink
Updates to increase audit column size to 100.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Jul 25, 2024
1 parent ab35dca commit ecf20e3
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public class PenRequestBatchEntity {
* The Create user.
*/
@Basic
@Column(name = "CREATE_USER", updatable = false, nullable = false, length = 32)
@Column(name = "CREATE_USER", updatable = false, nullable = false, length = 100)
String createUser;


Expand All @@ -219,7 +219,7 @@ public class PenRequestBatchEntity {
* The Update user.
*/
@Basic
@Column(name = "UPDATE_USER", nullable = false, length = 32)
@Column(name = "UPDATE_USER", nullable = false, length = 100)
String updateUser;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public class PenRequestBatchHistoryEntity {
* The Create user.
*/
@Basic
@Column(name = "CREATE_USER",updatable = false, nullable = false, length = 32)
@Column(name = "CREATE_USER",updatable = false, nullable = false, length = 100)
String createUser;


Expand All @@ -233,7 +233,7 @@ public class PenRequestBatchHistoryEntity {
* The Update user.
*/
@Basic
@Column(name = "UPDATE_USER", nullable = false, length = 32)
@Column(name = "UPDATE_USER", nullable = false, length = 100)
String updateUser;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public class PenRequestBatchStudentEntity {
* The Create user.
*/
@Basic
@Column(name = "CREATE_USER", updatable = false, nullable = false, length = 32)
@Column(name = "CREATE_USER", updatable = false, nullable = false, length = 100)
String createUser;


Expand All @@ -182,7 +182,7 @@ public class PenRequestBatchStudentEntity {
* The Update user.
*/
@Basic
@Column(name = "UPDATE_USER", nullable = false, length = 32)
@Column(name = "UPDATE_USER", nullable = false, length = 100)
String updateUser;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ public class Saga {
*/
@NotNull(message = "create user cannot be null")
@Column(name = "CREATE_USER", updatable = false)
@Size(max = 32)
@Size(max = 100)
String createUser;

/**
* The Update user.
*/
@NotNull(message = "update user cannot be null")
@Column(name = "UPDATE_USER")
@Size(max = 32)
@Size(max = 100)
String updateUser;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ public class SagaEvent {
*/
@NotNull(message = "create user cannot be null")
@Column(name = "CREATE_USER", updatable = false)
@Size(max = 32)
@Size(max = 100)
String createUser;

/**
* The Update user.
*/
@NotNull(message = "update user cannot be null")
@Column(name = "UPDATE_USER")
@Size(max = 32)
@Size(max = 100)
String updateUser;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ public class School implements Serializable {

private String closedDate;

@Size(max = 32)
@Size(max = 100)
public String createUser;

@Size(max = 32)
@Size(max = 100)
public String updateUser;

@Null(message = "createDate should be null.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ public class SchoolContact implements Serializable {

private String expiryDate;

@Size(max = 32)
@Size(max = 100)
public String createUser;

@Size(max = 32)
@Size(max = 100)
public String updateUser;

@Null(message = "createDate should be null.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ public class Student implements Serializable {
/**
* The Create user.
*/
@Size(max = 32)
@Size(max = 100)
String createUser;
/**
* The Update user.
*/
@Size(max = 32)
@Size(max = 100)
String updateUser;

String historyActivityCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
@NoArgsConstructor
@AllArgsConstructor
public abstract class BaseRequest {
@Size(max = 32)
@Size(max = 100)
protected String createUser;
@Size(max = 32)
@Size(max = 100)
protected String updateUser;
@Null(message = "createDate should be null.")
protected String createDate;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ALTER TABLE PEN_REQUEST_BATCH
MODIFY (
CREATE_USER VARCHAR2(100),
UPDATE_USER VARCHAR2(100)
);

ALTER TABLE PEN_REQUEST_BATCH_HISTORY
MODIFY (
CREATE_USER VARCHAR2(100),
UPDATE_USER VARCHAR2(100)
);

ALTER TABLE PEN_REQUEST_BATCH_SAGA
MODIFY (
CREATE_USER VARCHAR2(100),
UPDATE_USER VARCHAR2(100)
);

ALTER TABLE PEN_REQUEST_BATCH_SAGA_EVENT_STATES
MODIFY (
CREATE_USER VARCHAR2(100),
UPDATE_USER VARCHAR2(100)
);

ALTER TABLE PEN_REQUEST_BATCH_STUDENT
MODIFY (
CREATE_USER VARCHAR2(100),
UPDATE_USER VARCHAR2(100)
);

0 comments on commit ecf20e3

Please sign in to comment.