EleuCode / EleuCode/eleumind

MIND-11: Persist session log in SQLite

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Dart
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Summary
Log completed meditation sessions and intervals to a local SQLite database.

## Tasks
- [ ] Set up SQLite integration (`sqflite` or `drift`).
- [ ] Define schema: `sessions`, `intervals` (based on DATA_MODEL.md).
- [ ] Implement migration strategy using `PRAGMA user_version`.
- [ ] Save completed sessions and intervals in a transaction.
- [ ] Add DAO methods for inserts and queries.

## Acceptance Criteria
- [ ] Database is created and initialized on first run.
- [ ] Completed sessions persist correctly with duration and intervals.
- [ ] Data survives app restarts.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.