Use MEDIUMINT for steps per day (no effect, not used, and ignored by sqlite)

This commit is contained in:
cpfeiffer 2015-09-01 23:11:22 +02:00
parent 4b4c6d1a6b
commit da5df5621e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class ActivityDBUpdate_6 implements DBUpdateScript {
String CREATE_STEPS_PER_DAY_TABLE = "CREATE TABLE IF NOT EXISTS " + TABLE_STEPS_PER_DAY + " ("
+ KEY_TIMESTAMP + " INT,"
+ KEY_PROVIDER + " TINYINT,"
+ KEY_STEPS + " TINYINT,"
+ KEY_STEPS + " MEDIUMINT,"
+ " PRIMARY KEY (" + KEY_TIMESTAMP + "," + KEY_PROVIDER + ") ON CONFLICT REPLACE)" + DBHelper.getWithoutRowId();
db.execSQL(CREATE_STEPS_PER_DAY_TABLE);
}