Skip to content

feat(db): migrate to SQLDelight - #742

Merged
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
AcynD:feature/migrate-exposed-to-sqldelight
Oct 2, 2026
Merged

haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
AcynD:feature/migrate-exposed-to-sqldelight

Conversation

@AcynD

@AcynD AcynD commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrate the repository layer from Exposed to SqlDelight

Related Issue(s)

#679

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation
  • ♻️ Refactor (no functional change)
  • 🧪 Tests
  • 🔧 Chore / tooling / CI

What Changed & Why

  • Updated gradle/libs.versions.toml to use SQLDelight and remove Exposed.
  • Created new SQLDelight schema files for various entities.
  • Migrated repository classes to use SQLDelight queries.
  • Refactored DatabaseManager to support SQLDelight.
  • Removed unused Exposed-related classes and tables.
  • Updated tests to use SQLDelight-backed repositories.
  • Added migration scripts for SQLDelight schema.
  • Updated dependency configurations in build.gradle.kts.

How to Test

./gradlew test

Screenshots / Recordings (if applicable)

Checklist

  • I have read the CONTRIBUTING guide
  • My branch is up to date with main
  • I ran ./gradlew spotlessApply and ./gradlew detekt locally
  • I ran ./gradlew test and all tests pass
  • I added/updated tests for my changes (if applicable)
  • I added/updated documentation (if applicable)
  • My commits are signed off (DCO) — git commit -s
  • This PR is focused on a single feature/fix

Additional Notes

- Updated `gradle/libs.versions.toml` to use SQLDelight and remove Exposed.
- Created new SQLDelight schema files for various entities.
- Migrated repository classes to use SQLDelight queries.
- Refactored `DatabaseManager` to support SQLDelight.
- Removed unused Exposed-related classes and tables.
- Updated tests to use SQLDelight-backed repositories.
- Added migration scripts for SQLDelight schema.
- Updated dependency configurations in `build.gradle.kts`.
@CLAassistant

CLAassistant commented Oct 2, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@haiphucnguyen haiphucnguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Welcome onboard @AcynD ! Thank you for this great PR!

@haiphucnguyen
haiphucnguyen merged commit a0c8a5d into askimo-ai:main Oct 2, 2026
8 of 10 checks passed
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.

3 participants