File tree 2 files changed +21
-7
lines changed
java/ch/xxx/aidoclibchat/domain/model/entity
resources/db/changelog/changes
2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class Document {
13
13
@ GeneratedValue (strategy =GenerationType .SEQUENCE )
14
14
private Long id ;
15
15
private String documentName ;
16
- private DocumentType DocumentType ;
16
+ private DocumentType documentType ;
17
17
@ Lob
18
18
private byte [] documentContent ;
19
19
@@ -34,11 +34,11 @@ public void setDocumentName(String documentName) {
34
34
}
35
35
36
36
public DocumentType getDocumentType () {
37
- return DocumentType ;
37
+ return documentType ;
38
38
}
39
39
40
- public void setDocumentType (DocumentType DocumentType ) {
41
- this .DocumentType = DocumentType ;
40
+ public void setDocumentType (DocumentType documentType ) {
41
+ this .documentType = documentType ;
42
42
}
43
43
44
44
public byte [] getDocumentContent () {
Original file line number Diff line number Diff line change 14
14
<changeSet author =" angular2guy" id =" 1" >
15
15
<sql >CREATE EXTENSION vector;</sql >
16
16
</changeSet >
17
- <!--
18
- <createSequence sequenceName="document_SEQ" incrementBy="50"
17
+ <changeSet author =" angular2guy" id =" 2" >
18
+ <createTable tableName =" document" >
19
+ <column name =" id" type =" bigint" >
20
+ <constaints primaryKey =" true" />
21
+ </column >
22
+ <column name =" document_name" type =" varchar(255)" >
23
+ <constaints notNullConstraintName =" document_document_name" nullable =" false" />
24
+ </column >
25
+ <column name =" document_type" type =" varchar(25)" >
26
+ <constaints notNullConstraintName =" document_document_type" nullable =" false" />
27
+ </column >
28
+ <column name =" document_content" type =" blob" />
29
+ </createTable >
30
+ </changeSet >
31
+ <changeSet autor =" angular2guy" id =" 3" >
32
+ <createSequence sequenceName =" document_SEQ" incrementBy =" 50"
19
33
startValue=" 1000" />
20
- -- >
34
+ </ changeSet >
21
35
</databaseChangeLog >
You can’t perform that action at this time.
0 commit comments