Skip to content

Add SQLite database application ID and new consistent file extension#329

Merged
zaerl merged 3 commits intotrunkfrom
add-application-id
Mar 19, 2026
Merged

Add SQLite database application ID and new consistent file extension#329
zaerl merged 3 commits intotrunkfrom
add-application-id

Conversation

@zaerl
Copy link
Contributor

@zaerl zaerl commented Mar 18, 2026

This PR adds the 3948349 integer as the SQLite Application ID that is standard procedure to take when a SQLite database is used as an application file format1. A new consistent file extension has been chosen.

  1. PRAGMA application_id = SQLITE_DB_APPLICATION_ID is set for new and old databases
  2. New databases are created with the new file extension
  3. Legacy files are renamed for backward compatibility

Footnotes

  1. https://sqlite.org/appfileformat.html

@zaerl zaerl marked this pull request as ready for review March 18, 2026 11:20
@zaerl zaerl self-assigned this Mar 18, 2026
@zaerl zaerl requested a review from JanJakes March 18, 2026 11:31
Copy link
Member

@JanJakes JanJakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zaerl This looks great, thanks! I have just two small ideas.

@zaerl zaerl requested a review from JanJakes March 19, 2026 12:30
Copy link
Member

@JanJakes JanJakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@zaerl zaerl merged commit 75544c2 into trunk Mar 19, 2026
16 checks passed
@JanJakes JanJakes deleted the add-application-id branch March 19, 2026 14:32
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.

2 participants