DPIclimate / DPIclimate/broker

Starting a test instance with a core tables backup fails because version table does not exist

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
3
Avg merge
3m
Merged PRs (30d)
1

Description

init_db.sql does not create the `version` table, so restoring a core tables backup on startup does not work.

If the `version` table is created by init_db.sql, it has two rows after the backup is restored if init_db.sql inserts the version number row.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading init_db.sql and tracing the startup path that restores a core tables backup. Confirm how the version table and version number row are handled; done means startup restoration succeeds and the restored database has the expected single version row.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.