Skip to content

Commit

Permalink
Merge pull request #3 from mkroman/mkroman/migrations
Browse files Browse the repository at this point in the history
Use refinery to apply versioned db migrations
  • Loading branch information
mkroman authored Mar 29, 2024
2 parents cfe98eb + 1f6f313 commit c07ace3
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 14 deletions.
243 changes: 237 additions & 6 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ clap = { version = "4.5", features = ["derive", "env"] }
directories = "5.0.1"
humantime = "2.1"
miette = { version = "7.2.0", features = ["fancy"] }
refinery = { version = "0.8.12", features = ["rusqlite"] }
reqwest = { version = "0.12", features = ["blocking"] }
rss = "2.0"
rusqlite = "0.31"
rusqlite = "0.30"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", optional = true }
thiserror = "1.0.58"
Expand Down
2 changes: 0 additions & 2 deletions init.sql → migrations/V1__init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ CREATE TABLE IF NOT EXISTS `entries` (
`guid` VARCHAR UNIQUE,
`feed_id` INTEGER
);


Loading

0 comments on commit c07ace3

Please sign in to comment.