Important fix was to the accelerometer.sql to remove the ID and version fields.  Its not needed in the database.  Might need to create a default value for version.