Add generated database entity, just recipe and fix config table missing PK

This commit is contained in:
GW_MC
2025-11-13 20:13:05 +08:00
parent 7a1617e1ee
commit 25c0756e70
9 changed files with 96 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
use sea_orm::ConnectOptions;
pub mod generated;
pub async fn get_connection<T: FnOnce(&mut ConnectOptions) -> &mut ConnectOptions>(
connection_string: &str,
option_fn: Option<T>,