home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1683195669

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/585#issuecomment-1683195669 https://api.github.com/repos/simonw/sqlite-utils/issues/585 1683195669 IC_kwDOCGYnMM5kU4cV 9599 2023-08-18T01:24:57Z 2023-08-18T01:24:57Z OWNER

Currently: bash sqlite-utils transform --help ``` Usage: sqlite-utils transform [OPTIONS] PATH TABLE

Transform a table beyond the capabilities of ALTER TABLE

Example:

  sqlite-utils transform mydb.db mytable \
      --drop column1 \
      --rename column2 column_renamed

Options: --type <TEXT CHOICE>... Change column type to INTEGER, TEXT, FLOAT or BLOB --drop TEXT Drop this column --rename <TEXT TEXT>... Rename this column to X -o, --column-order TEXT Reorder columns --not-null TEXT Set this column to NOT NULL --not-null-false TEXT Remove NOT NULL from this column --pk TEXT Make this column the primary key --pk-none Remove primary key (convert to rowid table) --default <TEXT TEXT>... Set default value for this column --default-none TEXT Remove default from this column --drop-foreign-key TEXT Drop foreign key constraint for this column --sql Output SQL without executing it --load-extension TEXT Path to SQLite extension, with optional :entrypoint -h, --help Show this message and exit. ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1855894222  
Powered by Datasette · Queries took 1.117ms · About: github-to-sqlite