Skip to content

specflow init --from-features fails: table features has no column named problem_type #2

@mellanon

Description

@mellanon

Bug

specflow init --from-features features.json fails with:

SQLiteError: table features has no column named problem_type

Steps to Reproduce

  1. Run the specflow interview to generate features.json
  2. Run specflow init --from-features features.json "description"
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions