From 1e3ee64431343c4468fe7a917a90b71fee26be1d Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Sat, 4 Jul 2026 01:42:08 +0000 Subject: [PATCH] =?UTF-8?q?A:=20Remove=20address=20fields=20from=20company?= =?UTF-8?q?=20schemas=20=E2=80=94=20addresses=20now=20via=20Address=20mode?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/schemas/company.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app/schemas/company.py b/app/schemas/company.py index 422fbbf..fde5331 100644 --- a/app/schemas/company.py +++ b/app/schemas/company.py @@ -13,11 +13,6 @@ class CompanyCreate(BaseModel): email: str | None = Field(None, max_length=255) website: str | None = Field(None, max_length=500) description: str | None = None - address_street: str | None = Field(None, max_length=255) - address_city: str | None = Field(None, max_length=100) - address_zip: str | None = Field(None, max_length=20) - address_country: str | None = Field(None, max_length=2) - address_state: str | None = Field(None, max_length=100) class CompanyUpdate(BaseModel): @@ -28,11 +23,6 @@ class CompanyUpdate(BaseModel): email: str | None = Field(None, max_length=255) website: str | None = Field(None, max_length=500) description: str | None = None - address_street: str | None = Field(None, max_length=255) - address_city: str | None = Field(None, max_length=100) - address_zip: str | None = Field(None, max_length=20) - address_country: str | None = Field(None, max_length=2) - address_state: str | None = Field(None, max_length=100) class CompanyResponse(BaseModel): @@ -44,11 +34,6 @@ class CompanyResponse(BaseModel): email: str | None = None website: str | None = None description: str | None = None - address_street: str | None = None - address_city: str | None = None - address_zip: str | None = None - address_country: str | None = None - address_state: str | None = None created_at: str | None = None updated_at: str | None = None