database-setup #3

Merged
GW_MC merged 4 commits from database-setup into master 2026-02-16 11:08:10 +08:00
Owner
No description provided.
GW_MC added 4 commits 2026-02-16 11:07:29 +08:00
- Created a new Cargo.toml for the workspace, defining members and dependencies.
- Added a migration crate with its own Cargo.toml and README for CLI usage.
- Implemented migration logic for creating tables: accounts, settings, exchange rates, goals, tags, scheduled transactions, transactions, reconciliations, transfers, transaction tags, goal rules, goal progress, and scheduled instances.
- Added main entry point for the migration CLI.
- Included a Justfile for initializing the environment and managing database migrations.
- Updated Cargo.toml to include necessary dependencies for SeaORM and database handling.
- Implemented database connection establishment in `src-tauri/src/db/connection.rs`.
- Created database entities for accounts, exchange rates, goals, transactions, and more using SeaORM.
- Added migration handling in `src-tauri/src/db/migrations.rs`.
- Introduced a database service layer in `src-tauri/src/db/service.rs` for managing database connections and migrations.
- Updated the main library file to include the new database module.
GW_MC merged commit d1e9e92d00 into master 2026-02-16 11:08:10 +08:00
GW_MC deleted branch database-setup 2026-02-16 11:08:14 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: finwise/finwise#3