Support

If you need help with setup, Health permissions, or sync issues, contact Health Bridge support.

Release note

Version 1.2.2

Fixed a PostgreSQL sync issue affecting some custom Neon and PostgreSQL setups. Health Bridge now automatically creates or updates the expected health_daily table schema before syncing, which helps prevent missing-column errors during setup.

Message @alexmorris10x on Telegram

Email: support@healthsync.dev

Typical response time

We typically respond within 1 business day.

PostgreSQL schema

Health Bridge syncs into a table named health_daily.

CREATE TABLE IF NOT EXISTS health_daily (
    date               DATE PRIMARY KEY,
    sleep_total        DOUBLE PRECISION,
    sleep_rem          DOUBLE PRECISION,
    sleep_deep         DOUBLE PRECISION,
    sleep_core         DOUBLE PRECISION,
    sleep_awake        DOUBLE PRECISION,
    sleep_in_bed       DOUBLE PRECISION,
    bedtime            TEXT,
    wake_time          TEXT,
    resting_hr         SMALLINT,
    hrv_sdnn           SMALLINT,
    walking_hr         SMALLINT,
    vo2_max            DOUBLE PRECISION,
    steps              INTEGER,
    active_energy      SMALLINT,
    basal_energy       SMALLINT,
    exercise_min       SMALLINT,
    stand_hours        SMALLINT,
    distance_km        DOUBLE PRECISION,
    flights_climbed    SMALLINT,
    weight_kg          DOUBLE PRECISION,
    body_fat_pct       DOUBLE PRECISION,
    respiratory_rate   DOUBLE PRECISION,
    spo2               DOUBLE PRECISION,
    walking_speed      DOUBLE PRECISION,
    walking_steadiness DOUBLE PRECISION,
    workout_count      SMALLINT,
    workout_minutes    SMALLINT,
    workout_types      TEXT[],
    extras             JSONB DEFAULT '{}'::jsonb,
    synced_at          TIMESTAMPTZ DEFAULT NOW(),
    source             TEXT DEFAULT 'ios_app'
);

If the table already exists with older or different columns, add the missing columns or recreate it before syncing.