deadpool, diesel and errors! #16

Merged
radical merged 17 commits from deadpool-diesel into main 2025-05-23 11:07:21 +00:00

17 commits

Author SHA1 Message Date
a670b32c86 feat: migrate to diesel and new error type in stats 2025-05-23 12:57:19 +02:00
49e08af3d9 feat: migrate to diesel and new error type in invites 2025-05-23 12:57:08 +02:00
dfe2ca9486 feat: migrate to diesel and new error type in users 2025-05-23 12:56:51 +02:00
6190d76285 feat: migrate to diesel and new error type in servers 2025-05-23 12:56:19 +02:00
bf51f623e4 feat: migrate to diesel and new error type in auth 2025-05-23 12:55:27 +02:00
49db25e454 feat: use new error type in structs, utils and config 2025-05-23 12:54:52 +02:00
3e698edf8c feat: use new error type in main 2025-05-23 12:54:10 +02:00
fee46e1433 feat: use thiserror for errors 2025-05-23 12:52:41 +02:00
73ceea63b6 feat: refactor structs.rs to diesel! 2025-05-22 16:31:38 +02:00
c1885210fb feat: include migrations in binary
Lets us change the schema and not worry about instance admins having to manually update their DB!
2025-05-22 16:29:57 +02:00
2e1382c1d4 feat: make channel description nullable 2025-05-22 16:28:58 +02:00
a6d35b0ba2 feat: use diesel-cli instead of hand writing tables
after reading the documentation, crazy right? I figured out i was making my life hard, this makes my life easy again
2025-05-21 21:49:01 +02:00
f1d5b4316e feat: add tables.rs 2025-05-21 20:49:20 +02:00
da804cd436 feat: use diesel on Channel and ChannelPermission structs 2025-05-21 20:49:13 +02:00
746949f0e5 feat: use url format 2025-05-21 20:48:43 +02:00
b9c7bda2b1 feat: use diesel in main fn and data struct 2025-05-21 20:48:09 +02:00
27fbb6508e build: switch sqlx to diesel 2025-05-21 20:47:45 +02:00