Skip to content

Commit

Permalink
Don't add id for attachment, fix #2997
Browse files Browse the repository at this point in the history
  • Loading branch information
avernet authored and ebruchez committed Nov 17, 2016
1 parent 639ffb9 commit 367afa3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ trait CreateCols extends RequestResponse with Common {
}

List(
Col(
included = false && req.forData && ! req.forAttachment, // Oracle
name = "id",
value = StaticColValue("orbeon_seq.NEXTVAL")
),
Col(
included = true,
name = "created",
Expand Down

0 comments on commit 367afa3

Please sign in to comment.