Added Postgres backend and SQLx.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use uuid::Uuid;
|
||||
|
||||
pub struct TransactionRow {
|
||||
pub id: Uuid,
|
||||
pub description: String,
|
||||
pub amount_cents: i64,
|
||||
pub date: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user