Unified contacts model: Rentman-style type field (company/person), inline addresses, ContactPerson 1:N, all Rentman fields except rental-specific
This commit is contained in:
@@ -191,7 +191,7 @@ async def migrate_existing_addresses(db: AsyncSession) -> int:
|
||||
"""Migrate existing address fields from companies/contacts to Address records.
|
||||
Called during migration 0013. Returns count of created addresses.
|
||||
"""
|
||||
from app.models.company import Company
|
||||
from app.models.contact import Contact as Company
|
||||
from app.models.contact import Contact
|
||||
|
||||
count = 0
|
||||
|
||||
Reference in New Issue
Block a user