Closes #49: T_FILE.FIL_IDUSER_C non nullable

This commit is contained in:
jendib 2015-11-30 01:02:54 +01:00
parent d428ce162b
commit 3dbdf88124
6 changed files with 7 additions and 5 deletions

View File

@ -34,7 +34,7 @@ public class File implements Loggable {
/**
* User ID.
*/
@Column(name = "FIL_IDUSER_C", length = 36)
@Column(name = "FIL_IDUSER_C", length = 36, nullable = false)
private String userId;
/**

View File

@ -1 +1 @@
db.version=4
db.version=5

View File

@ -0,0 +1,2 @@
alter table T_FILE alter column FIL_IDUSER_C set not null;
update T_CONFIG set CFG_VALUE_C = '5' where CFG_ID_C = 'DB_VERSION';

View File

@ -1,3 +1,3 @@
api.current_version=${project.version}
api.min_version=1.0
db.version=4
db.version=5

View File

@ -1,3 +1,3 @@
api.current_version=${project.version}
api.min_version=1.0
db.version=4
db.version=5

View File

@ -1,3 +1,3 @@
api.current_version=${project.version}
api.min_version=1.0
db.version=4
db.version=5