mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
fix(scripts): drop the retired research-mode columns from the demo rebuild
The demo edge01 rebuild copies the users table by an explicit column list, and three of the names in it — research_mode_enabled and its two acknowledgment stamps — were dropped from the schema when Research Mode was retired. The COPY and its matching SELECT both targeted columns that no longer exist, so the rebuild would fail on the first users row. Removed from both lists, which stay aligned.
This commit is contained in:
1 parent
8f3e4b6387
commit
73ea1b03f3
1 file changed
-2
@@ -325,7 +325,6 @@ readonly USERS_COLS="id, username, email, password_hash, role, created_at, updat
|
||||
onboarding_completed_at, onboarding_step, onboarding_tour_completed,
|
||||
healthkit_config_json, healthkit_last_synced_at,
|
||||
display_name, last_report_practice_name, coach_prefs_json, source_priority_json,
|
||||
research_mode_enabled, research_mode_acknowledged_at, research_mode_acknowledged_version,
|
||||
last_synced_at, mood_reminder_enabled, doctor_report_prefs_json, notification_prefs,
|
||||
disable_coach, avatar_bytes, avatar_content_type, avatar_updated_at,
|
||||
full_name, insurer_name, insurance_number_encrypted, insurer_ik_number"
|
||||
@@ -366,7 +365,6 @@ readonly USERS_SELECT="id, username, email, password_hash,
|
||||
onboarding_completed_at, onboarding_step, onboarding_tour_completed,
|
||||
healthkit_config_json, healthkit_last_synced_at,
|
||||
display_name, last_report_practice_name, coach_prefs_json, source_priority_json,
|
||||
research_mode_enabled, research_mode_acknowledged_at, research_mode_acknowledged_version,
|
||||
last_synced_at, mood_reminder_enabled, doctor_report_prefs_json, notification_prefs,
|
||||
disable_coach, avatar_bytes, avatar_content_type, avatar_updated_at,
|
||||
full_name,
|
||||
|
||||
Reference in new issue
Block a user