Skip to content

Commit afa0d6b

Browse files
committed
refactor: Move migrations to a module
1 parent 16c72c9 commit afa0d6b

File tree

11 files changed

+9
-2806
lines changed

11 files changed

+9
-2806
lines changed

Cargo.lock

Lines changed: 2 additions & 321 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ env_logger = "0.11.8"
3939
hightorrent_api = { git = "https://github.com/angrynode/hightorrent_api" }
4040
# hightorrent_api = "0.2"
4141
log = "0.4.27"
42-
# SQLITE MIGRATIONS (WIP)
43-
migration = { path = "migration" }
42+
# SQLite ORM
4443
sea-orm = { version = "2.0.0-rc.18", features = [ "runtime-tokio", "debug-print", "sqlx-sqlite"] }
44+
# SQLite migrations
45+
sea-orm-migration = { version = "2.0.0-rc.18" }
4546
# Serialization/deserialization, for example in path extractors
4647
serde = { version = "1.0.219", features = ["derive", "rc"] }
4748
# (De)serialization for operations log

0 commit comments

Comments
 (0)