- Added SQL migrations for movies and reviews tables. - Implemented SqliteMovieRepository with methods for upserting movies, saving reviews, and querying diary entries. - Introduced models for database rows and conversion to domain models. - Integrated async migration handling in the repository. - Updated Cargo.toml files to include necessary dependencies for async operations and HTTP handling.
20 lines
374 B
TOML
20 lines
374 B
TOML
[package]
|
|
name = "sqlite"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
sqlx = { version = "0.8.6", features = [
|
|
"runtime-tokio-rustls",
|
|
"sqlite",
|
|
"uuid",
|
|
"macros",
|
|
] }
|
|
|
|
domain = { workspace = true }
|
|
uuid = { workspace = true }
|
|
chrono = { workspace = true }
|
|
tracing = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
tokio = { workspace = true }
|