Files
RSSuper/tasks/native-business-logic-migration/08-implement-linux-database-layer.md
Michael Freno d346b527e6
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
migration start
2026-03-29 14:12:17 -04:00

43 lines
954 B
Markdown

# 08. Implement Linux database layer (SQLite)
meta:
id: native-business-logic-migration-08
feature: native-business-logic-migration
priority: P0
depends_on: [native-business-logic-migration-05]
tags: [implementation, linux, database]
objective:
- Implement database layer using SQLite for Linux
deliverables:
- database.vala
- subscription-store.vala
- feed-item-store.vala
- search-history-store.vala
- schema.sql
- Database migrations
- FTS virtual table implementation
tests:
- Unit: Test CRUD operations
- Unit: Test relationships
- Unit: Test FTS queries
- Integration: Test database migrations
acceptance_criteria:
- SQLite database configured
- All tables created
- FTS search working
- Migrations implemented
- Proper error handling
validation:
- Run `meson test -C build`
- Verify with sqlite3 CLI
notes:
- Use GLib's GDatabase or direct SQLite bindings
- Implement FTS using SQLite FTS5
- Use transactions for batch operations