feat: add location and proxy host entities with migrations
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user