Fix missing column in the creation script (upgrades were fine, but new installation weren't).
Reindent changelog file.
This commit is contained in:
parent
97faf61c5a
commit
459f6baf08
|
@ -4,6 +4,7 @@ import android.database.sqlite.SQLiteDatabase;
|
||||||
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.database.DBHelper;
|
import nodomain.freeyourgadget.gadgetbridge.database.DBHelper;
|
||||||
|
|
||||||
|
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_CUSTOM_SHORT;
|
||||||
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_INTENSITY;
|
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_INTENSITY;
|
||||||
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_PROVIDER;
|
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_PROVIDER;
|
||||||
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_STEPS;
|
import static nodomain.freeyourgadget.gadgetbridge.database.DBConstants.KEY_STEPS;
|
||||||
|
@ -19,6 +20,7 @@ public class ActivityDBCreationScript {
|
||||||
+ KEY_INTENSITY + " SMALLINT,"
|
+ KEY_INTENSITY + " SMALLINT,"
|
||||||
+ KEY_STEPS + " TINYINT,"
|
+ KEY_STEPS + " TINYINT,"
|
||||||
+ KEY_TYPE + " TINYINT,"
|
+ KEY_TYPE + " TINYINT,"
|
||||||
|
+ KEY_CUSTOM_SHORT + " INT,"
|
||||||
+ " PRIMARY KEY (" + KEY_TIMESTAMP + "," + KEY_PROVIDER + ") ON CONFLICT REPLACE)" + DBHelper.getWithoutRowId();
|
+ " PRIMARY KEY (" + KEY_TIMESTAMP + "," + KEY_PROVIDER + ") ON CONFLICT REPLACE)" + DBHelper.getWithoutRowId();
|
||||||
db.execSQL(CREATE_GBACTIVITYSAMPLES_TABLE);
|
db.execSQL(CREATE_GBACTIVITYSAMPLES_TABLE);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<changelog>
|
<changelog>
|
||||||
<release version="0.8.1" versioncode="42" >
|
<release version="next">
|
||||||
<change>Pebble: Install and start freshly-installed apps on the watch also in FW 3.x (now same behaviour as 2.x)</change>
|
<change>Fix database creation script. Thanks @feclare</change>
|
||||||
|
</release>
|
||||||
|
<release
|
||||||
|
version="0.8.1"
|
||||||
|
versioncode="42">
|
||||||
|
<change>Pebble: Install and start freshly-installed apps on the watch also in FW 3.x (now
|
||||||
|
same behaviour as 2.x)
|
||||||
|
</change>
|
||||||
<change>Pebble: Fix crash while receiving Health data</change>
|
<change>Pebble: Fix crash while receiving Health data</change>
|
||||||
<change>Mi Band 1S: Support for synchronizing activity data</change>
|
<change>Mi Band 1S: Support for synchronizing activity data</change>
|
||||||
<change>Mi Band 1S: Support for reading the heart rate via the "Debug Screen"</change>
|
<change>Mi Band 1S: Support for reading the heart rate via the "Debug Screen"</change>
|
||||||
|
|
Loading…
Reference in New Issue