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

Database schema dump #1511

Merged
merged 2 commits into from
Mar 17, 2024
Merged

Database schema dump #1511

merged 2 commits into from
Mar 17, 2024

Conversation

groue
Copy link
Owner

@groue groue commented Mar 17, 2024

This pull request adds the dumpSchema method that prints the database schema. It's like dumpContent, but without the content of database tables.

For example:

// Prints:
// sqlite_master
// CREATE TABLE player (id INTEGER PRIMARY KEY, name TEXT, score INTEGER)
try dbQueue.dumpSchema()

@groue groue merged commit 1464940 into development Mar 17, 2024
21 checks passed
@groue groue deleted the dev/schema-dump branch March 17, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant