Bug
specflow init --from-features features.json fails with:
SQLiteError: table features has no column named problem_type
Steps to Reproduce
- Run the specflow interview to generate
features.json
- Run
specflow init --from-features features.json "description"
- Error occurs on insert — the
features table schema doesn't include a problem_type column, but the --from-features code path tries to insert one
Expected
specflow init --from-features should either:
- Include
problem_type in the DB schema, or
- Not attempt to insert
problem_type if the column doesn't exist
Environment
- specflow-bundle (latest main)
- Reproduced in pai-collab-bundle project
Additional Context
--force flag doesn't help — same error. Deleting the DB and re-running specflow migrate also fails since there's no existing DB to migrate.