From b31fab1efcee9661ceea632e91b78e8ad5f69449 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sun, 9 Aug 2020 22:43:45 +0200 Subject: [PATCH] Revert "Fix crash with newly synced summaries." This reverts commit da4c58305e05f7c5c5ebc21b6ea1478b2eccb833. --- .../freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java b/GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java index 721383324..53707c79b 100644 --- a/GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java +++ b/GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java @@ -121,7 +121,6 @@ public class GBDaoGenerator { private static Entity addUserInfo(Schema schema, Entity userAttributes) { Entity user = addEntity(schema, "User"); - user.implementsSerializable(); user.addIdProperty(); user.addStringProperty("name").notNull(); user.addDateProperty("birthday").notNull(); @@ -148,7 +147,6 @@ public class GBDaoGenerator { // additional properties of a user, which may change during the lifetime of a user // this allows changing attributes while preserving user identity Entity userAttributes = addEntity(schema, "UserAttributes"); - userAttributes.implementsSerializable(); userAttributes.addIdProperty(); userAttributes.addIntProperty("heightCM").notNull(); userAttributes.addIntProperty("weightKG").notNull(); @@ -168,7 +166,6 @@ public class GBDaoGenerator { private static Entity addDevice(Schema schema, Entity deviceAttributes) { Entity device = addEntity(schema, "Device"); - device.implementsSerializable(); device.addIdProperty(); device.addStringProperty("name").notNull(); device.addStringProperty("manufacturer").notNull(); @@ -186,7 +183,6 @@ public class GBDaoGenerator { private static Entity addDeviceAttributes(Schema schema) { Entity deviceAttributes = addEntity(schema, "DeviceAttributes"); - deviceAttributes.implementsSerializable(); deviceAttributes.addIdProperty(); deviceAttributes.addStringProperty("firmwareVersion1").notNull(); deviceAttributes.addStringProperty("firmwareVersion2");