Skip to content

Commit

Permalink
Beginning of payment history database
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed May 15, 2024
1 parent e1ae790 commit 49b6364
Show file tree
Hide file tree
Showing 13 changed files with 1,176 additions and 47 deletions.
122 changes: 94 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ palette = "0.7"
config = "0.14.0"
serde = { version = "1.0", features = ["derive"] }
home = "0.5.9"
chrono = "0.4.38"
rusqlite = { version = "0.31.0", features = ["sqlcipher"] }
diesel = { version = "2.1.6", features = ["sqlite", "chrono", "r2d2"] }
diesel_migrations = { version = "2.1.0", features = ["sqlite"] }
Expand All @@ -33,3 +34,6 @@ fedimint-mint-client = "0.3.1"
fedimint-ln-client = "0.3.1"
fedimint-bip39 = "0.3.1"
fedimint-ln-common = "0.3.1"

[dev-dependencies]
tempdir = "0.3.7"
4 changes: 4 additions & 0 deletions migrations/2024-05-13-234832_create_config/down.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
DROP TABLE lightning_payments;
DROP TABLE lightning_receives;
DROP TABLE on_chain_payments;
DROP TABLE on_chain_receives;
DROP TABLE fedimint;
DROP TABLE profile;
Loading

0 comments on commit 49b6364

Please sign in to comment.