diff --git a/README-CN.md b/README-CN.md index a6429aeff83..3297c5fc6d4 100644 --- a/README-CN.md +++ b/README-CN.md @@ -3,9 +3,10 @@ ## note2: 2023.09.26 garmin need secret_string(and in Actions) get `python run_page/garmin_sync.py ${secret_string}` if cn `python run_page/garmin_sync.py ${secret_string} --is-cn` ## note3: 2024.08.19: Added `Elevation Gain` field, If you forked the project before this update, please run the following command: - - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` - - For old data: To include `Elevation Gain` for past activities, perform a full reimport. - - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. + + - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` + - For old data: To include `Elevation Gain` for past activities, perform a full reimport. + - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. ```bash python run_page/db_updater.py diff --git a/README.md b/README.md index 0f81194911e..e65e462c0c8 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,10 @@ ## note2: 2023.09.26 garmin need secret_string(and in Actions) get `python run_page/garmin_sync.py ${secret_string}` if cn `python run_page/garmin_sync.py ${secret_string} --is-cn` ## note3: 2024.08.19: Added `Elevation Gain` field, If you forked the project before this update, please run the following command: - - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` - - For old data: To include `Elevation Gain` for past activities, perform a full reimport. - - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. + + - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` + - For old data: To include `Elevation Gain` for past activities, perform a full reimport. + - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. ```bash python run_page/db_updater.py