Skip to content

--sql flag does not generate SQL profile #180

@dalzony

Description

@dalzony

Generating with --sql produces no :db.sql/* keys in system.edn, and resources/queries.sql / resources/migrations/placeholder.txt are missing.

neil new io.github.kit-clj/kit myapp --sql

--conman --migratus works as a workaround.

Cause: in libs/deps-template/src/io/github/kit_clj/deps_template.clj, excluded-template-files only checks :conman / :migratus, and the system.edn Selmer template only branches on conman? / migratus? / hikari?. Nothing maps :sql to those, so passing only --sql leaves all SQL components disabled.

Versions: deps-template 0.1.89.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions