]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/db/Profile.java
fix profile deletion / data wipe
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / db / Profile.java
index ebbf6ddacdc7ff0a7820ced94e36a9048d2947fb..4753f311c4d4baf2af3376414a8ac97a5b03cf72 100644 (file)
@@ -34,6 +34,7 @@ import net.ktnx.mobileledger.utils.Misc;
 
 @Entity(tableName = "profiles")
 public class Profile {
+    public static final long NO_PROFILE_ID = 0;
     @ColumnInfo
     @PrimaryKey(autoGenerate = true)
     private long id;