mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 09:46:17 +00:00
Closes #49: T_FILE.FIL_IDUSER_C non nullable
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1 +1 @@
|
||||
db.version=4
|
||||
db.version=5
|
||||
@@ -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';
|
||||
Reference in New Issue
Block a user