Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip internal indexes in .schema output #171

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

mjpieters
Copy link
Contributor

See the schema table sql column documentation:

The sqlite_schema.sql is NULL for the internal indexes that are automatically
created by UNIQUE or PRIMARY KEY constraints.

Fixes #170

See the [schema table `sql` column documentation][schema]:

> The `sqlite_schema.sql` is NULL for the internal indexes that are automatically
> created by UNIQUE or PRIMARY KEY constraints.

[schema]: https://www.sqlite.org/schematab.html#interpretation_of_the_schema_table

Fixes dbcli#170
@amjith
Copy link
Member

amjith commented Nov 19, 2023

Thank you! Is there a good email to contact you? I'd like to invite you to join as a core dev.

@amjith amjith merged commit b8f712c into dbcli:main Nov 19, 2023
6 checks passed
@mjpieters mjpieters deleted the exclude_autoindexes branch November 19, 2023 21:09
@mjpieters
Copy link
Contributor Author

Thank you! Is there a good email to contact you? I'd like to invite you to join as a core dev.

I’m sorry, I’d have to decline the invitation. I’ve just, today, migrated the project I was using litecli with to PostgresSQL and I’m not likely to be of much help here.

@amjith
Copy link
Member

amjith commented Nov 20, 2023

That's too bad. We do have pgcli which can be of help if you liked the litecli UX. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<null> entries in .schema output
2 participants