mirror of
https://github.com/etesync/android
synced 2024-11-22 07:58:09 +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
|
||||
@Table(name = "EntryError", uniqueIndexes = "entry_unique_together")
|
||||
@Table(name = "EntryError")
|
||||
public static abstract class EntryError {
|
||||
@Key
|
||||
@Generated
|
||||
@ -168,7 +168,6 @@ public class JournalModel {
|
||||
@Column(nullable = false)
|
||||
String error;
|
||||
|
||||
@Index("entry_unique_together")
|
||||
@ForeignKey(update = ReferentialAction.CASCADE)
|
||||
@OneToOne
|
||||
Entry entry;
|
||||
|
Loading…
Reference in New Issue
Block a user