Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database restructure #458

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4684f16
unify migrations
aumetra Dec 16, 2023
f99fc76
fix statements
aumetra Dec 19, 2023
452b73d
format and continue refactor
aumetra Jan 19, 2024
22dd2c4
add formatter
aumetra Jan 20, 2024
b3a1c5d
finish formatting
aumetra Jan 21, 2024
d6ae181
maintain names as constants
aumetra Jan 21, 2024
f5e26ea
structure
aumetra Jan 21, 2024
284d390
add activitypub table for accounts, link accounts and users via a pkf…
aumetra Jan 21, 2024
194e264
move cryptographic keys out
aumetra Jan 21, 2024
70943b9
rename to account_type
aumetra Jan 21, 2024
224ae91
remove keys from accounts table
aumetra Jan 21, 2024
0b5f5f3
add shutdown log
aumetra Jan 21, 2024
5dbf813
update benchmark
aumetra Jan 21, 2024
45081d9
rename constraints, move queries around
aumetra Jan 21, 2024
a7388b0
update schema
aumetra Mar 9, 2024
8baef20
add diesel-cli-ext to the flake
aumetra Jun 1, 2024
3144db6
remove blurhash
aumetra Jun 1, 2024
df95bf9
refactor unique constraint positions
aumetra Jun 2, 2024
550db4a
store keys in der format
aumetra Jun 2, 2024
8cfb169
add comment
aumetra Jun 2, 2024
ecb04f7
add domain table
aumetra Jun 4, 2024
5955566
add fk constraint
aumetra Jun 4, 2024
a1190d4
add protocol marker
aumetra Jun 4, 2024
014ac58
make roles an own table
aumetra Jun 4, 2024
9f641df
add unique constraint
aumetra Jun 4, 2024
1e58c71
use standard conformant syntax
aumetra Jun 4, 2024
aeb1028
up
aumetra Jun 12, 2024
d694cae
Merge branch 'main' into aumetra/db-restructure
aumetra Jul 12, 2024
91b89eb
up
aumetra Jul 12, 2024
4a93801
Merge branch 'main' into aumetra/db-restructure
aumetra Nov 5, 2024
ea4c685
fix compile issue and warnings
aumetra Nov 5, 2024
d704ef3
move sensitive boolean to individual media attachments
aumetra Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
427 changes: 194 additions & 233 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fred = { version = "9.0.3", features = [
"i-scripts",
"sha-1",
] }
garde = { version = "0.19.1", features = [
garde = { version = "0.19.2", features = [
"derive",
"email",
"email-idna",
Expand All @@ -107,7 +107,7 @@ itertools = { version = "0.13.0", default-features = false }
moka = { version = "0.12.7", features = ["sync"] }
simdutf8 = { version = "0.1.4", features = ["aarch64_neon"] }
sonic-rs = "0.3.7"
triomphe = { version = "0.1.12", default-features = false, features = [
triomphe = { version = "0.1.13", default-features = false, features = [
"unsize",
] }

Expand Down Expand Up @@ -212,7 +212,7 @@ diesel-async = { git = "https://github.com/weiznich/diesel_async.git", rev = "3b
scraper = { git = "https://github.com/causal-agent/scraper.git", rev = "d67111f5cc0b7da6e6ff10e4549d87cf09ba3e5b" }
tokio-postgres-rustls = { git = "https://github.com/jbg/tokio-postgres-rustls.git", rev = "b16c1bc0f5d4f91324174fd1bd839d743a70f86a" }

# SIMD runtime detection
# SIMD runtime detection and generic I/O wrapper
sonic-rs = { git = "https://github.com/aumetra/sonic-rs.git", rev = "317ff37a8ab88e653ee01bbc00a974d41f3b151a" }

# TCP nodelay for `axum::serve`
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-activitypub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ speedy-uuid = { workspace = true }
tracing = "0.1.40"
triomphe = { workspace = true }
typed-builder = "0.18.2"
url = "2.5.1"
url = "2.5.2"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
sha2 = { version = "0.10.8", features = ["asm"] }
Expand Down

This file was deleted.

198 changes: 0 additions & 198 deletions crates/kitsune-db/migrations/2023-05-19-192931_initial_tables/up.sql

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading