mirror of
https://github.com/etesync/android
synced 2024-11-22 16:08:13 +00:00
Fix crash when initialising database.
This bug was introduced a few commits ago, in:
9f6b63620e
This commit is contained in:
parent
02022976f9
commit
bb2b116723
@ -159,7 +159,7 @@ public class JournalModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "EntryError", uniqueIndexes = "entry_unique_together")
|
@Table(name = "EntryError")
|
||||||
public static abstract class EntryError {
|
public static abstract class EntryError {
|
||||||
@Key
|
@Key
|
||||||
@Generated
|
@Generated
|
||||||
@ -168,7 +168,6 @@ public class JournalModel {
|
|||||||
@Column(nullable = false)
|
@Column(nullable = false)
|
||||||
String error;
|
String error;
|
||||||
|
|
||||||
@Index("entry_unique_together")
|
|
||||||
@ForeignKey(update = ReferentialAction.CASCADE)
|
@ForeignKey(update = ReferentialAction.CASCADE)
|
||||||
@OneToOne
|
@OneToOne
|
||||||
Entry entry;
|
Entry entry;
|
||||||
|
Loading…
Reference in New Issue
Block a user