Skip to content
Snippets Groups Projects
Commit e8529d4d authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed database relation

parent ae0c75b5
Branches
Tags
No related merge requests found
......@@ -62,7 +62,7 @@ public class Template implements TransactionBase, Iconizable
name = "tags_id", referencedColumnName = "ID"))
private List<Tag> tags;
@OneToOne(optional = true)
@ManyToOne(optional = true)
@Expose
private Account transferAccount;
......
......@@ -62,7 +62,7 @@ public class Transaction implements TransactionBase, ProvidesID
@Expose
private RepeatingOption repeatingOption;
@OneToOne(optional = true)
@ManyToOne(optional = true)
@Expose
private Account transferAccount;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment