feat: add location and proxy host entities with migrations

This commit is contained in:
GW_MC
2026-01-07 15:57:13 +08:00
parent 1ed065e08e
commit ab840126b3
10 changed files with 347 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ pub struct Model {
pub created_at: DateTimeUtc,
pub updated_at: DateTimeUtc,
#[sea_orm(has_many)]
pub locations: HasMany<super::location::Entity>,
#[sea_orm(has_many)]
pub proxy_hosts: HasMany<super::proxy_host::Entity>,
#[sea_orm(has_many)]
pub upstream_targets: HasMany<super::upstream_target::Entity>,
}