Refactored how the music handler was being referenced
Some checks failed
Locusworks Team/eight-track/pipeline/head There was a failure building this commit

This commit is contained in:
Isaac Parenteau
2020-01-06 21:22:54 -06:00
parent 4c68e6bf09
commit 2f89362a8b
25 changed files with 169 additions and 120 deletions

View File

@@ -76,6 +76,9 @@ public class Log implements Serializable {
@Column(name = "date_added")
@Temporal(TemporalType.TIMESTAMP)
private Date dateAdded;
@Lob
@Column(name = "exception")
private byte[] exception;
@JoinColumn(name = "guild", referencedColumnName = "id")
@ManyToOne(optional = false)
private DiscordGuild guild;
@@ -126,6 +129,14 @@ public class Log implements Serializable {
this.dateAdded = dateAdded;
}
public byte[] getException() {
return exception;
}
public void setException(byte[] exception) {
this.exception = exception;
}
public DiscordGuild getGuild() {
return guild;
}