Skip to content

create-table command does not handle compound primary keys #620

@simonw

Description

@simonw

I tried running this:

sqlite-utils create-table compound.db compound \ category text id integer value text --pk category --pk id

And got this schema:

CREATE TABLE [compound] ( [category] TEXT, [id] INTEGER PRIMARY KEY, [value] TEXT );

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcli-tool

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions