Skip to content

Commit

Permalink
[feat]: initial migration
Browse files Browse the repository at this point in the history
  • Loading branch information
CutestNekoAqua committed Apr 17, 2024
1 parent ed91200 commit 99304aa
Show file tree
Hide file tree
Showing 12 changed files with 1,480 additions and 249 deletions.
1,099 changes: 946 additions & 153 deletions Cargo.lock

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,23 @@ rand = "0.8.5"
tracing = "0.1.40"
async-trait = "0.1.79"
enum_delegate = "0.2.0"
chrono = "0.4.37"
activitystreams-kinds = "0.3.0"
thiserror = "1.0.58"
num_cpus = "1.16.0"
actix-web-prom = { version = "0.8.0", features = ["process"] }
redis = { version = "0.25.3", features = ["tokio-comp", "tokio-rustls-comp", "cluster"] }
redis-macros = "0.3.0"
rmp-serde = "1.1.2"
serde_json = "1.0.115"
chrono = "0.4.38"

[dependencies.sea-orm-migration]
version = "0.12.0"
features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
# e.g.
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
"sqlx-postgres", # `DATABASE_DRIVER` feature
"sqlx-sqlite","sqlx-mysql","with-chrono"
]

[build-dependencies]
vcpkg = "0.2.15"
Expand Down
24 changes: 12 additions & 12 deletions flake.lock

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

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
just
rust-toolchain
pkg-config
sea-orm-cli
];
RUST_BACKTRACE = 1;
};
Expand Down
Loading

0 comments on commit 99304aa

Please sign in to comment.