Skip to content

sqlite again - #10597

Merged
thdxr merged 85 commits into
devfrom
sqlite2
Feb 14, 2026
Merged

sqlite again#10597
thdxr merged 85 commits into
devfrom
sqlite2

Conversation

@thdxr

Copy link
Copy Markdown
Member

slopity slop

actions-userand others added 3 commits January 26, 2026 02:32
Replaces custom migration system with drizzle-orm's built-in migrator, bundling migrations at build-time instead of runtime generation. This reduces bundle complexity and provides better integration with drizzle's migration tracking.
…ueries
Reduces memory usage and speeds up conversation loading by using pagination
and inArray queries instead of loading all messages at once
… to improve database reliability and performance
This replaces the previous manual JSON file system with standard Drizzle migrations, enabling:
- Proper database schema migrations with timestamp-based versioning
- Batched migration for faster migration of large datasets
- Better data integrity with proper table schemas instead of JSON blobs
- Easier database upgrades and rollback capabilities
Migration changes:
- Todo table now uses individual columns with composite PK instead of JSON blob
- Share table removes unused download share data
- Session diff table moved from database table to file storage
- All migrations now use proper Drizzle format with per-folder layout
Users will see a one-time migration on next run that migrates existing JSON data to the new SQLite database.
@thdxr
thdxrforce-pushed the sqlite2 branch 2 times, most recently from 55b2dfe to cd174d8CompareJanuary 27, 2026 22:03
@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

1 similar comment
@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

2 similar comments
@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

Enables automatic token refresh for authenticated Control accounts by implementing a unique active account constraint and refresh token flow. The database schema now enforces a single active Control account at a time, and tokens are automatically refreshed when expired.
@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

9 similar comments
@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

@opencode-agent

Copy link
Copy Markdown
Contributor

⚠️Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

Sign up for freeto 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.

3 participants

@thdxr@actions-user@Brendonovich